Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...