1.

Differentiate between CHAR and VARCHAR data types in MYSQL.

Answer»

In sql we have CHAR and varchar

char field has fixed LENGTH it means it take same amount of storage always while varchar has VARIABLE length it means its value changes and depend on string STORED in it.

char STORE maximum character of 255 while varchar store alphanumeric data .


hope its help you.



Discussion

No Comment Found