About 41,700 results
Open links in new tab
  1. What's the difference between VARCHAR and CHAR?

    Dec 11, 2009 · The char is a fixed-length character data type, the varchar is a variable-length character data type. Because char is a fixed-length data type, the storage size of the char …

  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 is the major difference between Varchar2 and char

    Since a char is nothing more than a VARCHAR2 that is blank padded out to the maximum length - that is, the difference between the columns X and Y below: create table t ( x varchar2 (30), y …

  5. 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 …

  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 - 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 …

  8. database - What is the difference between CHARACTER VARYING …

    Jul 29, 2009 · 226 VARCHAR is an alias for CHARACTER VARYING, so no difference, see documentation :) The notations varchar(n) and char(n) are aliases for character varying(n) and …

  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. sql - Qual a vantagem de se usar CHAR ao invés de VARCHAR?

    May 4, 2015 · 15 Qual a vantagem de se usar CHAR ao invés de VARCHAR em banco de dados já que as vantagens de VARCHAR excedem as de CHAR (se é que tem?). Existe diferença …