SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to select non english values from a table?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nebrom
Starting Member

Ethiopia
1 Posts

Posted - 04/21/2007 :  02:05:42  Show Profile  Reply with Quote
CREATE TABLE product
( product_id integer
, translated_name NVARCHAR2(50) );

insert into product values(1,N'kenenisa')
insert into product values(2,N'Ethiopia')
Note that i have used N becuase it is unicode data
then
select * from product; this works fine.
select * from product where product_id=1; this also works fine,
but
select * from product where translated_name=N'kenenisa'; this doesnot work correctly, so how can i fix this problem ?

jezemine
Flowing Fount of Yak Knowledge

USA
2884 Posts

Posted - 04/21/2007 :  02:18:17  Show Profile  Visit jezemine's Homepage  Reply with Quote
this is a SQL Server forum.

try http://www.dbforums.com for oracle questions.


www.elsasoft.org
Go to Top of Page

rmiao
Flowing Fount of Yak Knowledge

USA
7266 Posts

Posted - 04/21/2007 :  20:27:28  Show Profile  Reply with Quote
By the way, it works on sql server. :=)
Go to Top of Page

jezemine
Flowing Fount of Yak Knowledge

USA
2884 Posts

Posted - 04/21/2007 :  22:41:17  Show Profile  Visit jezemine's Homepage  Reply with Quote
well, everything but the NVARCHAR2 part


www.elsasoft.org
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000