Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i am trying to rename my SQL table i.e audit to Audit, but its not working. i am using MYSQL workbench IDE, pls help ASAP
Posted
Updated 17-Jan-13 0:27am
v2
Comments
dan!sh 17-Jan-13 6:21am    
What do you mean by not working? Are getting some error?
inguva suryanarayana 18-Jan-13 1:06am    
its nt showing any error but i am unable to rename it.
Tejas Vaishnav 17-Jan-13 6:27am    
Use proper tags while posting question.
inguva suryanarayana 18-Jan-13 1:07am    
my Q is related to MySQL and SQL only naa that's y i tagged them WATS wrong?
Tejas Vaishnav 18-Jan-13 2:09am    
You are taging SQL and SQLServer i change them to SQL and MySQL

use this
mysql> ALTER TABLE orig_name RENAME new_name;
 
Share this answer
 
 
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