01-27-12, 12:18 #1Registered User
- Join Date
- Jan 2012
Unanswered: execute a store procedure from toad with VARRAY as input
I'm trying to execute a procedure from TOAD, that procedure takes a VARRAY as input. be low are the steps i followed:
1.right click on the procedure name
3.i got a dialog box to enter input parameters, but varray input field was disabled. Can, you please, help me in this regard how to execute the procedure.
below is the spec for the procedure
in_varray IN InputType,
in_status IN VARCHAR2,
out_cursor OUT typ_refcur
01-27-12, 17:22 #2Registered User
Provided Answers: 1
- Join Date
- Aug 2003
- Where the Surf Meets the Turf @Del Mar, CA
This is just one of many reasons why to avoid using VARRAY datatype.
VARRAY only exists within a PL/SQL procedure, so you can not test using TOAD the typical way.
So either test using sqlplus or change the datatype.
What advantage does VARRAY provide?
Do the pros outweigh the cons for VARRAY?You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Good judgement comes from experience. Experience comes from bad judgement.