I’m new to Microsoft SQL. I’m planning to store text in Microsoft SQL server and there will be special international characters. Is there a “Data Type” specific to Unicode or I’m better encoding my text with a reference to the unicode number (i.e. \u0056)
Share
Use
Nvarchar/Nchar(MSDN link). There used to be anNtextdatatype as well, but it’s deprecated now in favour ofNvarchar.The columns take up twice as much space over the non-unicode counterparts (
charandvarchar).Then when “manually” inserting into them, use
Nto indicate it’s unicode text: