This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Creating Tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Creating Tables" Watch "Creating Tables" New topic
Author

Creating Tables

Siegfried Heintze
Ranch Hand

Joined: Aug 11, 2000
Posts: 396
How do I automate the creation of tables with JDBC? Are there actual function calls or must I execute a generic sql statement such as CREATE TABLE ...
Snigdha Solanki
Ranch Hand

Joined: Sep 07, 2000
Posts: 128
You can use executeUpdate method to execute SQL DDL Statements. statements that create a table,alter a table, or delete a table are examples of DDL statements.

[ July 11, 2002: Message edited by: Snigdha Solanki ]

Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
 
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: Creating Tables
 
jQuery in Action, 3rd edition