Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with Chinese Characters
Message
 
À
31/01/2007 04:45:14
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01190767
Message ID:
01190772
Vues:
14
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform