About 3,110,000 results
Open links in new tab
  1. What is the difference between varchar and nvarchar?

    An nvarchar column can store any Unicode data. A varchar column is restricted to an 8-bit codepage. Some people think that varchar should be used because it takes up less space. I …

  2. What is the difference between char, nchar, varchar, and nvarchar …

    Jun 27, 2013 · 45 nchar and char pretty much operate in exactly the same way as each other, as do nvarchar and varchar. The only difference between them is that nchar/nvarchar store …

  3. unicode - When must we use NVARCHAR/NCHAR instead of …

    Mar 5, 2009 · When use char / nchar and varchar / nvarchar depends on the characters that you want to support, and also the version of your SQL Server that will determines which …

  4. What is the maximum characters for the NVARCHAR(MAX)?

    I have declared a column of type NVARCHAR(MAX) in SQL Server 2008, what would be its exact maximum characters having the MAX as the length?

  5. What are the main performance differences between varchar and …

    2) If one sees a drastic performance hit when mixing VARCHAR and NVARCHAR, that should be due to indexing of the VARCHAR column along with the type of Collation used for that column …

  6. SQL Server Text type vs. varchar data type - Stack Overflow

    From the docs: Important ntext , text, and image data types will be removed in a future version of Microsoft SQL Server. Avoid using these data types in new development work, and plan to …

  7. sql - Determining Nvarchar length - Stack Overflow

    A common misconception is to think that with nchar (n) and nvarchar (n), the n defines the number of characters. However, in nchar (n) and nvarchar (n), the n defines the string length …

  8. What's best SQL datatype for storing JSON string?

    Feb 9, 2012 · 1 It's recommend to use varchar/nvarchar datatype then with the JSON text that's stored in database tables, you can read or modify values in the JSON text by using the …

  9. SQL NVARCHAR and VARCHAR Limits - Stack Overflow

    Sep 28, 2012 · nvarchar(max) + varchar(n) will first convert the varchar(n) input to nvarchar(n) and then do the concatenation. If the length of the varchar(n) string is greater than 4,000 …

  10. sql - Conversion failed when converting the nvarchar value ... to …

    Feb 9, 2014 · Conversion failed when converting the nvarchar value 'abcd' to data type int. Solution - I had seen this kind of error before when I forgot to enclose a number (in varchar …