create database using java

Tags:
Database
Java
Java Database
Microsoft Access
MySQL
How to create database (not table) using java? For example, I want to create database in MSAccess, MySQL, Oracle etc.

Answer Wiki

Thanks. We'll let you know when a new response is added.

There is no single way to create a database across the platforms.

For Microsoft Access you have to create a new mdb file which may not be possible without first doing so in Microsoft Accesss.

For MySQL, Sybase, Microsoft SQL, etc you will need to fire off the CREATE DATABASE Command with the correct parameters for that platform.

Oracle doesn’t have the concept of a database. Each instance of Oracle is its own database, so to create a new database you have to install another instance. You can create a new Schema and user but that’s about the closest thing you can do.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following