This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 43935
    
  33
Moving to our databases forum, where we usually discuss such questions.
André Asantos
Ranch Hand

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

AS
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Rename table's name using MySQL Data Base
 
It's not a secret anymore!