0

I am trying below query but not getting proper output. It will return me garbage value.

I have try this query :

select convert(nvarchar(max), '.4ah開発進捗状況(週報)')

Output of my query :

.4ah??????(??)

Thanks

1 Answer 1

4

Try adding 'N' before your chinese string, it simply converts your string to unicode. Just check this:

select convert(nvarchar(max), N'.4ah開発進捗状況(週報)')

Using 'N' prefix means declaring the string as nvarchar data type, rather than varchar.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.