File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Creating Tables Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Creating Tables" Watch "Creating Tables" New topic
Author

Creating Tables

Siegfried Heintze
Ranch Hand

Joined: Aug 11, 2000
Posts: 359
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 agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Creating Tables
 
Similar Threads
Query on BMP
Table Design using Absolure or Relative
drop down menu
Problem while retrieving values from table
SQLGrammarException