Cloud Stack Ninja

I am trying to create a table in MySQL to have the timestamp suffixed in the table name. I am trying the following SQL command to achieve the same.

Attempt1. - create table somename-NOW() (id integer, title varchar(100)); Attempt2. - create table somename-@NOW() (id integer, title varchar(100));

The above commands did not work for me.

Thank you

Read more here:

Content Attribution

This content was originally published by Deepak Mehra at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: