Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inserting foreign language (help)

Status
Not open for further replies.

csphard

Programmer
Apr 5, 2002
194
US
Hi I created the following table
CREATE TABLE [myTest] (
[test] [nvarchar] (1000) COLLATE Traditional_Spanish_BIN NULL
) ON [PRIMARY]
GO

try to insert chinese using
insert into myTest(test) values (N'?????? ???')

the data in query analyzer display boxes instead of the language like it does here. What am I doing wrong.

Howard



 
I do not understand your answer. So are you saying when I insert the information into the database it will not display in that language. However when I read it to the screen it will if I use the weberver. How do I use the webserver to do this.

Howard
 
Additionally, you can set the results to text to display it.

Click Tools -> Options. Click Results tab. Change 'Default results target' to 'Results to Text'.


-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Just out of curiousity if you want Chinese, why are you using a collation for Spanish?

"NOTHING is more important in a database than integrity." ESquared
 
I copied some Aremenian text. I inserted it into the table.

When I display it in query analyzer it looks different.

When I display that different text in work it does not convert it back. The chinese does. Meaning I can copy some chinese text. Insert into the db. In the table it displays as squares. In word it displays correct.

Can anyone tell what I am doing wrong?

Howard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top