This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes DDL in JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DDL in JDBC" Watch "DDL in JDBC" New topic
Author

DDL in JDBC

Priyakant Charokar
Ranch Hand

Joined: May 08, 2004
Posts: 58

Which version of JDBC supports DDL statements ??


SCJP, SCWCD, SCMAD, SCEA, OCPJP 7, CSM
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Priyakant,
I've done that for quite some time now. If I had to guess, I would say JDBC 2. It's likely driver dependent though, so you might want to try it out on your database to be sure.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DDL in JDBC
 
Similar Threads
Can I use JDBC to execute database command?
dynamically create tables
Suggestion on project
jdbc create table with ms sql drivers
How to tell if a DDL has failed?