This week's book giveaway is in the Game Development forum.
We're giving away four copies of Badass: Making Users Awesome and have Kathy Sierra on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Renaming a table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Renaming a table" Watch "Renaming a table" New topic

Renaming a table

Preeti Chopra

Joined: May 14, 2001
Posts: 5
Hi All,
Is it possible to rename a table using JDBC. I am using MSExcel as database. Even otherwise is there any standard SQL for renaming a table.
Daniel Dunleavy
Ranch Hand

Joined: Mar 13, 2001
Posts: 276
In most databases ... NO. You could create a View to the table, which would give you the new name.
I don't know about Excel.
I agree. Here's the link:
subject: Renaming a table