tsql - What is the 'N' when you are dealing with SQL such as (N'') -
tsql - What is the 'N' when you are dealing with SQL such as (N'') -
just in question, not sure difference between ''
, n''
in sql.
it's shorthand nvarchar
. using notation tells parser treat next string info nvarchar
instead of default varchar
.
example:
select n'this test'; -- nvarchar info select 'test test'; -- varchar info
sql tsql
Comments
Post a Comment