473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Oracle Calling A Stored Procedure

Hello, I have an update stored procedure which is in a package. In my code I
create all of the paramters and then call the stored procedure with
"ExecuteNonQuery()" method of the command. The Command oject I am using is
an "IDbCommand" rather then the OracleCommand object.

The call always fails which and error message indicating that a conversion
error between character and Numeric values. If I look at the database, the
procedure clearly has worked from a database perspective. It sounds like
some problem with MS attempting to return the "int" of the method of the
ExecuteNonQuery() method.

If I instead create a datareader with the same command above, the procedure
works just fine, I can then read my parameters and all is right with the
world.

Why can't I use the "ExecuteNonQuery" method of the command with Oracle?
What do I need to do differently?

Thanks in advance for your assistance!!!
Nov 18 '05 #1
1 1755
Show your code where you set the parameter list, and of the stored proc also

Jeff
"Jim Heavey" <Ji*******@discussions.microsoft.com> wrote in message
news:7A**********************************@microsof t.com...
Hello, I have an update stored procedure which is in a package. In my code I create all of the paramters and then call the stored procedure with
"ExecuteNonQuery()" method of the command. The Command oject I am using is an "IDbCommand" rather then the OracleCommand object.

The call always fails which and error message indicating that a conversion
error between character and Numeric values. If I look at the database, the procedure clearly has worked from a database perspective. It sounds like
some problem with MS attempting to return the "int" of the method of the
ExecuteNonQuery() method.

If I instead create a datareader with the same command above, the procedure works just fine, I can then read my parameters and all is right with the
world.

Why can't I use the "ExecuteNonQuery" method of the command with Oracle?
What do I need to do differently?

Thanks in advance for your assistance!!!

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: stephane.traumat | last post by:
Hello, I already succeed to call a stored procedure in Oracle but only simple ones with one output value and several inputs. I don't any idea left so any help would be great :) Thanks But on...
1
by: Jason Leiser | last post by:
Is there a way to call an Oracle Procedure using the MS OLD DB Provider for Oracle object in a SQL Server 2000 DTS package? If it can't be done this way, is there another way to retrieve data from...
1
by: Chetan | last post by:
Hi We have Oracle 8.1.7.4 and using .net framework 1.1 with Microsoft client. While executting the stored procedure we are getting an error message. Here is our code. here is the code that...
2
by: paddy_nyr | last post by:
What is the correct syntax for calling an oracle stored procedure and getting a retrun value? I created a simple procedure on my oracle database for testing and yes I know I could do this in a...
2
by: Raj | last post by:
Hi, Does anybody know how to call an oracle stored procedure ( with parameters ofcourse) from MS Access 2002. I want to invoke an oracle stored procedure which takes 2 parameters. Thanks,...
1
by: burtonl | last post by:
I'm using the ADODB abstraction layer and trying to figure out how to call an Oracle stored procedure. It has the following types defined: CREATE OR REPLACE TYPE varchar2_3200_array IS TABLE...
0
by: Tom | last post by:
Looking for some help with stored procedure call issues. Conceptually, I need to pass a data structure as the sole parameter to the Oracle stored procedure. Sounds simple enough....but how? ...
14
by: jehugaleahsa | last post by:
Hello: I am working with Oracle .NET Stored Procedures. I would like to know how to return the results of a SELECT statement. I have tried returning a OracleRefCursor and a DataTable, but...
23
by: Gloops | last post by:
Hello everybody, Is anyone able to give me some indications about how to develop an Access interface for an Oracle database ? I dispose of Access 2003 (11.6566.8107) SP2, Oracle 9i 9.2.0.1.0...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.