rhishi20 Posted December 26, 2013 Share Posted December 26, 2013 (edited) i have read that when i want to store unicode characters then we have to use nvarchar as datatype and if we are storing regular type of characters then we can use varchar as datatype. i heard that collation is related with unicode characters but not knowing what is mean by collation? and how it is related with unicode characters ? when i have done sp_help tablename one of the column displays collation ----------- SQL_Latin1_General_CP1_CI_AS so please tell me this means what ? Edited December 26, 2013 by rhishi20 Link to comment Share on other sites More sharing options...
justsomeguy Posted January 6, 2014 Share Posted January 6, 2014 Collation and character set mean the same thing. It is the way the characters are stored in a binary fashion. Different collations store characters differently. Unicode has a defined way on how characters get stored, so when you choose a unicode collation then that's how it stores the characters. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now