Collections:
Unicode Character String Literals in SQL Server Transact-SQL
How To Enter Unicode Character String Literals in SQL Server Transact-SQL?
✍: FYIcenter.com
Unicode characters are multi-byte characters. They are very hard to be entered as string literals, because it requires:
But if you know the code value of a Unicode character, you can enter it with the help of the NCHAR(int) function. For example:
-- A Unicode string of some interesting characters PRINT NCHAR(9733)+NCHAR(9734)+NCHAR(9792)+NCHAR(9794); ----- ★☆♀♂
⇒ Exact Numeric Literals in SQL Server Transact-SQL
⇐ Unicode String Literals in SQL Server Transact-SQL
2019-12-05, 8211🔥, 1💬
Popular Posts:
How To Get the Definition of a Stored Procedure Back in SQL Server Transact-SQL? If you want get the...
How Fixed Length Strings Are Truncated and Padded in SQL Server Transact-SQL? When the length of the...
Why I Can Not Enter 0.001 Second in DATETIME values in SQL Server Transact-SQL? If you enter millise...
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...
How To Convert Character Strings into Numeric Values in SQL Server Transact-SQL? Sometimes you need ...