Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Chinese Characters
Message
 
To
31/01/2007 04:45:14
General information
Forum:
Microsoft SQL Server
Category:
Database design
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01190767
Message ID:
01190772
Views:
15
>Hi All!!!
>
>I'm working on a project wherein we need to upload/store transactions/ information that has chinese characters. My question is:
>
>1. What data type should I use to store this type of data?
>2. How do I do a search on this field?
>
>Thanx! a lot in advance...
>
>Martin

You should use Nvarchar or NChar (National chars). The search is almost the same but you should use N' infront of your seacrhed string:
SELECT .....
       FROM ....
       WHERE TheText  = N'SomeChineseTextHere'
Also make sure you have the right colation for that DataBase.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform