This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Rename table's name using MySQL Data Base Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Rename table Watch "Rename table New topic
Author

Rename table's name using MySQL Data Base

André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
hello,
anybody else can help me saying the way to rename the table's name "user" to "users" using the MySQL sintax... ???

thanks,
André AS
Rose Rimsky
Greenhorn

Joined: Feb 10, 2010
Posts: 25
Hi André, the command you should use in order to rename a table, is actually RENAME. Check this page to see the complete syntax, I'm sure this will help you


Fairy tales are more than true: not because they tell us that dragons exist, but because they tell us that dragons can be beaten. – G.K. Chesterton
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38033
    
  22
Moving to our databases forum, where we usually discuss such questions.
André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
really thanks...

AS
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Rename table's name using MySQL Data Base
 
Similar Threads
how can i create war file in unix
Use PL/SQL Loop and variable
JTable and combobox as the cellEditor
MySQL database connection using DataSource + Context or Initial Context
how can i create war file in unix