About 46,100 results
Open links in new tab
  1. sql - What's the difference between VARCHAR and CHAR? - Stack …

    Dec 11, 2009 · What's the difference between VARCHAR and CHAR in MySQL? I am trying to store MD5 hashes.

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

    Jun 27, 2013 · char and varchar cannot store Unicode characters. char and nchar are fixed-length which will reserve storage space for number of characters you specify even if you don't use up …

  3. sql - Why should I use char instead of varchar? - Stack Overflow

    For SQL Server: varchar(n) always carries at least 2 bytes overhead - so varchar(2) isn't using 0-2 bytes - but 2-4 bytes - while char(2) always uses just 2 bytes (e.g. for two-chars country …

  4. What are the use cases for selecting CHAR over VARCHAR in SQL?

    The general rule is to pick CHAR if all rows will have close to the same length. Pick VARCHAR (or NVARCHAR) when the length varies significantly. CHAR may also be a bit faster because all …

  5. What is the major difference between Varchar2 and char

    CHAR was introduced in Oracle 6 for, I'm sure, ANSI compatibility reasons. Probably there are potential customers deciding which database product to purchase and ANSI compatibility is on …

  6. Difference between different string types in SQL Server?

    Nov 15, 2010 · What is the difference between char, nchar, ntext, nvarchar, text and varchar in SQL? Is there really an application case for each of these types, or are some of them just …

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

    I have variable length character data and want to store in SQL Server (2005) database. I want to learn some best practices about how to choose TEXT SQL type or choose VARCHAR SQL …

  8. sql server - What is the difference between varchar and nvarchar ...

    I like incomudro's point, it's what led me to digging around about the difference between varchar & nvarchar in the first place. Our Java app against a SQL Server db uses myBatis, which seems …

  9. Qual a diferença entre char, nchar, varchar e nvarchar?

    Jun 21, 2017 · Qual a diferença entre usar os tipos de dados varchar e nvarchar? nvarchar existe em todo banco de dados SQL? Existe alguma diferença significante de performance entre …

  10. Does anyone have considerable proof that CHAR is faster than …

    Aug 4, 2010 · CHAR will be faster as it is fixed length. For example CHAR (10) and VARCHAR (10) CHAR (10) is a fixed-length string of 10 while VARCHAR is a variable-length string with …