Question abou Oracle SP in VB.NET

rahavtom

Well-known member
Joined
Apr 2, 2004
Messages
63
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.
 
Back
Top