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?
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

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.