Hi All,
Can anyone provide me a quick input on how mysql treat varchar data type size.
For Example: - If I have a column in table with field with Varchar(15) and if I try to insert data of length 16, then it gives an error stating
"Data too long for column 'testname' at row 1".
Does anyone know why varchar fields in mysql take fixed length. Also what is the fixed size of byte does a varchar field takes per record based on size given.
Thanks in advance.
Regards, Manasi