Archive for August, 2009

Free Experts Exchange Membership — Just scroll to the bottom :)

Ever been looking for an answer to a question on google to find that the only relevant question/answer is on ExpertsExchange?  Want a free membership to the site?  The great thing is that all the answers are there.  Just scroll down to the VERY bottom of the page and you’ll be able to see all the answers they try to get you to pay for.

Leave a Comment

Insert Unicode Chinese Characters into SQL Server

Problem: Insert Chinese characters (or other Unicode) into SQL Server (or SQL Server Express).  The characters are inserted as question marks.  What gives?

Solution:

Instead of this: insert into table(field) values (’惨’)

Do this:  insert into table(field) values (N’惨’)

Just use the N prefix on any unicode field and it should work.

Source:http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_21699281.html (just scroll down to the bottom)

Leave a Comment