skip to main content
Basic elements of SQL : Literals : Unicode string literals
 

Unicode string literals

If the character string literal has a prefix of N, the literal is treated as a Unicode string. When the N prefix is used, the characters in the literal are read as WCHAR characters. Any string literal with non-ASCII characters is treated as a Unicode literal by default.

Examples

N'wchar literal'
'Jim áâã'