Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Call Oracle Stored Proceedure VB.NET

Thread Tools

Call Oracle Stored Proceedure VB.NET

Problematic coder
Posts: n/a
I have a form based application that inputs values into various oracle
tables, after it has done this I want to call a stored proceedure in
Oracle which is already written to do more work on this data, it does
not return any values to vb nor does it expect any criteria or input.

I already have a connection to Oracle open using the following code:

Dim objcnn As New Data.OracleClient.OracleConnection(ConnectStr)
Dim objcom As Data.OracleClient.OracleCommand
objcom = New Data.OracleClient.OracleCommand(strSQLinsert, objcnn)

Assuming the stored proceedure is named "my_proc" could I use a
similar command like:

objcom = New Data.OracleClient.OracleCommand(strCallMyProc, objcnn)

If so what would strCallMyProc = ?

If not how else could I or should I call it?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Return Value From Stored Proceedure. Mick Walker ASP .Net 4 06-20-2007 07:08 PM
Erro calling stored proceedure Problematic coder ASP .Net 9 03-13-2007 10:56 PM
Call Oracle Stored Proceedure VB.NET Problematic coder ASP .Net 2 03-09-2007 08:21 PM
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified procedure could not be found at C:/Perl/lib/ line 230. Feyruz Perl Misc 4 10-14-2005 06:47 PM
Calling on a .net proceedure using javascript on client ASP .Net 0 03-31-2005 05:11 PM