Open GoogleCodeExporter opened 9 years ago
Well "timestamp" could also mean a UNIX timestamp which would be an INT.
But indeed it would be no harm if we would guess some datatypes from column
names for new columns.
What conventions are there though?
Original comment by schlabbe...@gmail.com
on 9 Aug 2012 at 9:02
Well, you could potentially do it for all of the various date/time-related
datatypes. DATE, DATETIME, and TIMESTAMP.
I'm trying to think of any other sure-fire datatype predictions. Columns named
'name' or 'username' or 'email almost always go to VARCHAR or TINYTEXT.
What else?
Original comment by da...@delcoe.com
on 9 Aug 2012 at 9:25
Original issue reported on code.google.com by
da...@delcoe.com
on 9 Aug 2012 at 3:17