Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating Tables  RSS feed

 
Siegfried Heintze
Ranch Hand
Posts: 417
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!