Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 3a62717

Browse files
authored
Update right-transact-sql.md
1 parent b48dea0 commit 3a62717

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/t-sql/functions/right-transact-sql.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ RIGHT ( character_expression , integer_expression )
3737
## Arguments
3838
*character_expression*
3939
Is an [expression](../../t-sql/language-elements/expressions-transact-sql.md) of character or binary data. *character_expression* can be a constant, variable, or column. *character_expression* can be of any data type, except **text** or **ntext**, that can be implicitly converted to **varchar** or **nvarchar**. Otherwise, use the [CAST](../../t-sql/functions/cast-and-convert-transact-sql.md) function to explicitly convert *character_expression*.
40+
41+
> [!NOTE]
42+
> If *string_expression* is of type **binary** or **varbinary**, RIGHT will perform an implicit conversion to **varchar**, and therefore will not preserve the binary input.
4043
4144
*integer_expression*
4245
Is a positive integer that specifies how many characters of *character_expression* will be returned. If *integer_expression* is negative, an error is returned. If *integer_expression* is type **bigint** and contains a large value, *character_expression* must be of a large data type such as **varchar(max)**.

0 commit comments

Comments
 (0)