I understand that, in t-sql, the prefix N
on a string literal specifies a unicode string (i.e. the type of the literal is nvarchar). My question is: why N? Why not U, for Unicode, or L, like C?
Asked
Active
Viewed 1,440 times
1

Dan Davies Brackett
- 9,811
- 2
- 32
- 54
-
1`N` most likely just stands for `NVARCHAR`. What the `N` in `NVARCHAR` stands for though... :) – Joachim Isaksson Jun 25 '13 at 20:37
-
"national character varying" – Blorgbeard Jun 25 '13 at 20:38
1 Answers
3
As indicated by this MSDN article, N stands for national character.

Dan Davies Brackett
- 9,811
- 2
- 32
- 54

Z .
- 12,657
- 1
- 31
- 56