At 6:39 PM +0100 9/14/01, powlow wrote:
>first posting to the list so hello. My name is Paulo. I live and work in
>question : i want to create a table each month. want to call it somehting
>like 012001 for January 2001. mysql does not seem to allow this. Jan2001 is
>fine. d122001 is also fine. is it not possible to create tables with only a
>number as the name? is there a way round this?
Yes, it's possible, but it's a bad idea:
- numbers are hard to recognize as names
- you'll have to use a special syntax *every* time you refer to the
Anyway, if you want to do this, you must enclose the name in backquotes:
CREATE TABLE `1` (i INT);
DROP TABLE `1`;
If I were you, I'd just prefix the numbers with a character, e.g.,
t012001, t022001, etc.
>2 days of work wasted here!!
>thanks for any help
Paul DuBois, paul@stripped