aspose file tools*
The moose likes JDBC and the fly likes create database using jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
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://aspose.com/file-tools
 
subject: create database using jdbc
 
Similar Threads
Database Daemon Connection
lading data from file into database
Java Demystified - GUI and JDBC
Creating Databases and Roles from Enterprise Application
how to create database in ms-sql server using java/jdbc