when creating tables(and columns inside it) using MySQL gui clients there is a field called ‘length’ of a column. What exactly does it mean. Isn’t range for a datatype (say)int fixed. Does length relate to the range of column value in anyway? Thanks.
when creating tables(and columns inside it) using MySQL gui clients there is a field
Share
No – but MySQL has some predefined sizes for integers.
Yes, it sets a limit on the size of what you put in there – but don’t assume its directly equivalent to the number of characters you key in (see previous link, also, this one on multibyte characters)