Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Unknown Parm

Author  Topic 

pgmr1998
Yak Posting Veteran

66 Posts

Posted - 2010-04-10 : 13:06:34
What does the 'N' in the foll statement do? I cant find any info on it...

WHERE (TM_User.FirstName = N'Dennis')

DBA in the making
Aged Yak Warrior

638 Posts

Posted - 2010-04-10 : 13:37:55
It's similar to the N in front of NVARCHAR.

Basically, 'Dennis' is an ASCII string, and N'Dennis' is a unicode string.

------------------------------------------------------------------------------------
Any and all code contained within this post comes with a 100% money back guarantee.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-04-11 : 03:11:18
http://support.microsoft.com/kb/239530/en-us

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -