Hello!
I need to create Oracle stored procedure at runtime with visual basic .net.
I want that everytime my application starts, it will run a "create or replace procedure" statement on ORACLE server.
I tried to read the SQL statement from a script file (text file) into an OracleCommand object and exeute the statement by this. In fact, it created something in the database, but it seems to create the procedure with errors... I think it maybe related to the text format (such as ";" etc.).
Does anyone know how can I do it right?
Thanks in advanced,
Tom.
I need to create Oracle stored procedure at runtime with visual basic .net.
I want that everytime my application starts, it will run a "create or replace procedure" statement on ORACLE server.
I tried to read the SQL statement from a script file (text file) into an OracleCommand object and exeute the statement by this. In fact, it created something in the database, but it seems to create the procedure with errors... I think it maybe related to the text format (such as ";" etc.).
Does anyone know how can I do it right?
Thanks in advanced,
Tom.