Hi,
I've got an easy question. Is it okay to name a column in a mysql table 'year'? Any reason not to?
Thanks,
-Laxmidi
Hi,
I've got an easy question. Is it okay to name a column in a mysql table 'year'? Any reason not to?
Thanks,
-Laxmidi
You can name it year
, there is no reason not to do so because it is not the reserved keyword of mysql/sql.
If you quote your identifiers properly, you can use almost any word you want:
SELECT * FROM `select` WHERE `select`.id > 100;