Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2003, 03:41 AM
Authorized User
 
Join Date: Aug 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change Collation

I'd created a database in SQL_Latin1_General_CP1_CI_AS.
Now I want to store data in another language.
Therefore I created a table and the columns are set to
"Chinese_Taiwan_Stroke_CI_AI" Collation.

However, when I insert data to the table,
the records are "???"

Can anyone help me?
Thanks

 
Old September 29th, 2003, 04:25 AM
Registered User
 
Join Date: Sep 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try to use Unicode datatypes for strings.
Then you should have no problem with different collations.

--for example:
create table CCC (iid int identity(1,1) not null,
    col1 nchar(10) COLLATE Chinese_Taiwan_Stroke_CI_AI,
    col2 nvarchar(255) COLLATE Chinese_Taiwan_Stroke_CI_AI)
 
Old October 2nd, 2003, 04:14 AM
Authorized User
 
Join Date: Aug 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Still not work.

I need to create another database in the chinese_taiwan collation.
Then the field can store chinese words.

Do you have another method?
Thanks a lot!









Similar Threads
Thread Thread Starter Forum Replies Last Post
Substring-after collation bonekrusher XSLT 2 May 11th, 2007 09:31 AM
Need to change Collation sequence kscase SQL Server 2005 2 April 9th, 2007 10:20 AM
SQL Collation to Greek jmjyiannis SQL Server 2000 0 September 14th, 2005 11:59 AM
collation conflict vijayma SQL Server 2000 1 July 25th, 2005 09:50 PM
SQL7-SQL2K collation problems dhulse SQL Server 2000 2 July 6th, 2004 03:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.