0

I have an application which has an oracle database, so the installation of the application needs running some oracle commands script files to create the database and perform some DDL operations.

I was trying to prepare an installation wizard using C# forms application. This wizard needs to run these commands. My questions are: Is C# windows forms app a good choice to achieve that? And how to perform it? i.e. how to run oracle commands script files from inside the application? I exactly need a function that takes the file path as input parameter and executes the commands within the script files... Thanks in advance

4
  • Why would it not be just another class in your application? Commented May 28, 2014 at 9:31
  • This installation is the on the database server side, so there is no application to be installed here. Despite where is it located, I need to perform some oracle commands inside C# ? Commented May 28, 2014 at 9:41
  • I see this link: helpful:stackoverflow.com/questions/17725379/… Commented May 28, 2014 at 11:14
  • You could use ODBC (System.Data && System.Data.Odbc namespace) to connect (OdbcConnection) and execute (OdbcCommand) commands. Commented May 28, 2014 at 12:06

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.