
- Forum
- Database
- SQL Server
- TSQL Statement
TSQL Statement
This is a discussion on TSQL Statement within the SQL Server forums, part of the Database category; USE master; GO EXEC sp_addlinkedserver 'SEATTLESales', N'SQL Server' -- the line I have a question about GO I got the ...
-
04-23-2008, 11:45 AM #1
- Join Date
- Apr 2008
- Answers
- 1
TSQL Statement
USE master;
GO
EXEC sp_addlinkedserver
'SEATTLESales',
N'SQL Server' -- the line I have a question about
GO
I got the above SQL statement from SQL Server Booksonline.
I've seen several statements that have an N before
a character string. I've been able to execute the
statements successfully with the inclusion of this N.
What is the purpose of the N?
-
02-02-2009, 08:39 PM #2
- Join Date
- Feb 2009
- Location
- Dallas, TX
- Answers
- 2
looks like its if the string after N is a unicode string. refer msdn.microsoft . com/en-us/library/ms182673 . aspx (Transact-SQL)

Reply With Quote





