Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

SQL2000 Chinese Character problem
Hi,

My SQL2000 is Traditional Chinese version.
In most cases, I can INSERT and SELECT correctly.
However, there some Chinese words I can INSERT without problem,
but the output of the SELECT will be "?", not the word I input to the
database.
Would anyone tell me the solution?
Thanks for help.


Jason



Report this thread to moderator Post Follow-up to this message
Old Post
Jason Huang
12-28-05 08:23 AM


RE: SQL2000 Chinese Character problem
I assume you are working in the Query Analyzer. Notice following points:
1. The column must be nvarchar type
2. In the SQL, you must use N'...' on your chinese string
3. Save the script in UNICODE text file.
4. Configure the QA to use proper font to show chinese characters.

"Jason Huang" wrote:

> Hi,
>
> My SQL2000 is Traditional Chinese version.
> In most cases, I can INSERT and SELECT correctly.
> However, there some Chinese words I can INSERT without problem,
> but the output of the SELECT will be "?", not the word I input to the
> database.
> Would anyone tell me the solution?
> Thanks for help.
>
>
> Jason
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
James Ma
12-28-05 06:23 PM


Re: SQL2000 Chinese Character problem
Thanks James, this works!

"James Ma" <JamesMa@discussions.microsoft.com>  ¼¶¼g©ó¶l¥ó·s»D:524DD
4A7-5E9C-4CA4-84F9-40006
80D6D0F@microsoft.com...
>I assume you are working in the Query Analyzer. Notice following points:
> 1. The column must be nvarchar type
> 2. In the SQL, you must use N'...' on your chinese string
> 3. Save the script in UNICODE text file.
> 4. Configure the QA to use proper font to show chinese characters.
>
> "Jason Huang" wrote:
> 



Report this thread to moderator Post Follow-up to this message
Old Post
Jason Huang
12-29-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:06 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006