SQL Server data Field

Hi,
  I have a nvarchar field that I need to display japanese characters in.

WHen I update with (Example - Ln¯é¹nëiUn-nv™j;JˆsB‰†)  the update runs fine but when I do a select on the field in SQL Server I just see ???????????????????????

Some help?
Larry Bristersr. DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chapmandewCommented:
It may depend on the collation.  Are you using a japanese collation for that field?
0
chapmandewCommented:
Thats odd..this works fine for me:

create table #temp(fld nvarchar(100))
insert into #temp
select 'Ln¯é¹nëiUn-nv™j;JˆsB'

select * from #temp

does it for you?
0
Larry Bristersr. DeveloperAuthor Commented:
chapmandew:
How do I check the collation on the field?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

brejkCommented:
When you insert data into nchar or nvarchar columns always use N prefix.

create table #temp(fld nvarchar(100))
insert into #temp
select N'Ln¯é¹nëiUn-nv™j;JˆsB'

This should allow you to store whatever you want and __IT DOES NOT DEPEND ON COLLATION__.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chapmandewCommented:
It may not...but I would think it would be fine if it is being stored in a NVARCHAR field.
0
Larry Bristersr. DeveloperAuthor Commented:
YAY!!!  YIPPEE!!  RIGHT ON!!!!   Uh....thanks.  Great solution.  I don't care what I have to type as long as the data gets in there.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.