September 30, 2013 at 1:43 am
Hi.. When i am trying to insert delta symbol into db, its converted to question mark(?) symbol. I am passing an xml via stored procedure and i checked with query profiler the input is delta only, but after insert or update its converted to question mark symbol 🙁
Please anyone give me a hand..
September 30, 2013 at 5:49 pm
You see the question mark where? in an app? in SSMS? Use the UNICODE function to inspect the actual numeric value.
SELECT UNICODE(LEFT(YourField,1)) FROM TABLE
I think the ASCI code for a question mark is 63. If you see any other number, it's not a question mark in the database - you're just seeing that.
October 3, 2013 at 2:02 am
yuvakom (9/30/2013)
Hi.. When i am trying to insert delta symbol into db, its converted to question mark(?) symbol...
What is the datatype of destination column ?
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
October 4, 2013 at 9:45 am
The short answer is that varchar columns don't get along with Unicode characters. Your column type should be nvarchar.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply