This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JDBC and the fly likes create database using jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "create database using jdbc" Watch "create database using jdbc" New topic
Author

create database using jdbc

Kiran Kudtarkar
Greenhorn

Joined: Mar 31, 2002
Posts: 2
How do i create database using jdbc.
Please help me out with the syntax.
Snigdha Solanki
Ranch Hand

Joined: Sep 07, 2000
Posts: 128
If you want to create tables, you can use executeUpdate method of java.sql.Statement interface.executeUpdate is used to execute an SQL INSERT, UPDATE or DELETE statement.


Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

Originally posted by Kiran Kudtarkar:
How do i create database using jdbc.
Please help me out with the syntax.

Sorry not an option through jdbc. You can call a VB function via JNI to create an access database or some other native code to create a database.
Jamie
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: create database using jdbc
 
Similar Threads
Java Demystified - GUI and JDBC
Creating Databases and Roles from Enterprise Application
lading data from file into database
how to create database in ms-sql server using java/jdbc
Database Daemon Connection