Click here to Skip to main content
15,891,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I need to give numeric column names to temporary tables like
create temporary table aaa
(
  1  int,
  2  int
);


I need to do this using MySQL 5.0. I tried to do this: "1", [1], '1', and ['1'], but it is getting errors. Could I have some help please?
Posted
Updated 16-Dec-09 1:14am
v2

I am not sure that numeric names are supported. They certainly appear to me to be dumb. Why can't you use more sensible names ?
 
Share this answer
 
See if you get something here [^].
 
Share this answer
 
v2
create table `ext`
(
`1` INT(20),
`2` INT(20)
);



note:

here u use Back Quote which is (`) and it is with tild sign(~) in keyboard. And upon tab key.
so use it
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900