What is the difference between the data types char and varchar?
a).Nothing, they are essentially the same.
b).Char uses all of the space allocated, whereas varchar uses only as much space as the characters actually stored.
c).Char stores only numeric values, whereas varchar can store any text.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Lalit MRank #1,186 · 1.5K reputationPosted Dec 7, 2009, 9:10 PM EST
Satyanarayan Bajoria12 reputationPosted Dec 10, 2009, 1:11 AM EST
The main difference between char and varchar is that char takes the completely memory specify while declaring where as varchar takes the memory only the value assign to it and rest of the memory will be released.
So when we know the size go for char and when we don't know the size go for varchar.