Ask the Expert

How do I automatically create a database in Oracle using a VB app?

I have an application in Visual Basic involving Oracle as the database. While setting up the application, I want the database to be created automatically. How do I do that?

    Requires Free Membership to View

There are two ways to handle this, depending on what you have installed on the machine. If you have the Oracle command line SQL processing tools, you can include a SQL script that you'll spawn off to do the creation. If the command line tools are not available, you'll probably need to write a custom DLL or EXE that will connect using the Oracle database driver DLLs and do the table creation in your own code.

This was first published in September 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

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
Sort by: OldestNewest

Forgot Password?

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

Your password has been sent to: