Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Novice Question about N' in a T-SQL 1

Status
Not open for further replies.

redshadow

Programmer
May 24, 2001
70
PH
Hi to all,

I just want to clarify myself what is N' used for?

Let's say:

if exists (select * from sysobjects where id = object_id(N'[dbo].[objName]')

I browsed all topics on SQL Server and I couldn't find any explanation about the purpose of N'.

Thanks in advance for the enlightenment.

 
This is used to indicate a UNICODE string value. For more info search BOL for 'Using Unicode Data'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top