Ryan (ryanofford (AT) hotmail (DOT) com) writes:
Quote:
SELECT * FROM Report_Locale
SELECT * FROM Report_Locale WHERE Text_Name = '???.????. - ??.'?????.-
????.'
Hopefully the Greek characters will display properly within this post, |
They didn't, but that's my newsreader that is not able to handle them.
Anwyay, you need to prefix the characater literal with N, to make it a
Unicode literal:
WHERE Text_Name = N'???.????...'
Else it's a varchar literal, and characters will be replaced with fallback
characters in your current 8-bit character set. If you try:
SELECT '???.????...', N'???.????...'
(Replacing the question marks with the original Greek characters, that my
newsreader mashed.)
--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx