|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Calling a Stored Proc with OUTPUT parameters in Pro*C
Guys
I am facing a problem.. I have a stored procedure with 7 INPUT and 3 OUTPUT parameters... Calling the procedure from a Pro*C program returns an error ORA-06502... whereas when i copy the values being passed to the proc call, and run it from SQLPlus, it works fine... Anyone can help me ? Cheers Mubeen |
|
#2
|
|||
|
|||
|
Your C datatypes do not match the output parms in Pro*C.
You probably have a number or a date that needs a TO_CHAR in the stored proc, or you need to change your C datatypes. VARCHAR is a typedef that you can use for dates, for example. |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > Calling a Stored Proc with OUTPUT parameters in Pro*C |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|