Poonam Jain
Explain Difference between Char and Varchar ???
By Poonam Jain in ADO.NET on Apr 18 2009
  • Keerthi Venkatesan
    Apr, 2016 1

    Char-Fixed length memory storage. Varchar-changable in memory storage

    • 0
  • Nikhil Kumar
    Apr, 2009 18

    hi,
    Poonam

    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 value is equal to the maximum size for this column. Because varchar is a variable-length data type, the storage size of the varchar value is the actual length of the data entered, not the maximum size for this column.

    You can use char when the data entries in a column are expected to be the same size.
    You can use varchar when the data entries in a column are expected to vary considerably in size.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS