Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Query Japanese ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 10967 of 11221
Post > Topic >>

Query Japanese Text in an NVarChar?

by rowe_newsgroups <rowe_email@[EMAIL PROTECTED] > Apr 15, 2008 at 01:06 PM

I apologize if this has been covered ad nauseum, but I didn't see it
in my search.

Basically, in an nvarchar(150) column (called "Phrase" in the below
samples) I store both english text as well as japanese (the table is
for translations). What I'm having trouble with is querying the table
by the NVarChar field.

This works fine:

//////////////
SELECT *
FROM tbl_ShortPhrases
WHERE Phrase = 'Home'
//////////////

But when I try with japanese, nothing is returned:

/////////////
SELECT *
FROM tbl_ShortPhrases
WHERE Phrase = '再価格'
/////////////

I thought that the problem might be a conversion issue, so I tried the
following with no success:

/////////////
SELECT *
FROM tbl_ShortPhrases
WHERE Phrase = CONVERT(NVARCHAR, '再価格')
/////////////

Any help you can offer is appreciated!

Thanks,

Seth Rowe [MVP]
 




 3 Posts in Topic:
Query Japanese Text in an NVarChar?
rowe_newsgroups <rowe_  2008-04-15 13:06:19 
Re: Query Japanese Text in an NVarChar?
Tom van Stiphout <no.s  2008-04-15 20:36:44 
Re: Query Japanese Text in an NVarChar?
rowe_newsgroups <rowe_  2008-04-16 04:12:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Wed Jul 9 0:43:41 CDT 2008.