Computer Science, asked by vkp36, 1 year ago

differentiate between char and varchar data type 2 points please

Answers

Answered by keshav1149
6
char can store up to a very limited alpha characters
whereas var char can ve used to store alpha characters more widely.
char is not widely used
var char is widely used for storing names, addresses,etc
Answered by afsanafatima5
5
A CHAR field is a fixed length, and VARCHAR is a variable length field.

This means that the storage requirements are different - a CHAR always takes the same amount of space regardless of what you store, whereas the storage requirements for a VARCHAR vary depending on the specific string stored.


afsanafatima5: Most welcome
vkp36: can u ans 1 more quessn i hv put
afsanafatima5: yeah off course
afsanafatima5: If i m able to ans that
Similar questions