Posted by Erland Sommarskog on 04/27/06 10:34
rcamarda (rcamarda@cablespeed.com) writes:
> What is the N in front of the literal 'supercalifragi' do? is it a
> shortcut for cast(xxx as nvarchar())??
Sort of. N marks the literal as a Unicode literal.
The idea is not unique to SQL. I C++ you use L for the same purpose.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|