If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > execute a store procedure from toad with VARRAY as input

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-12, 11:18
dbuser2815 dbuser2815 is offline
Registered User
 
Join Date: Jan 2012
Posts: 1
Red face 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
2.execute procedure.
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

PROCEDURE PKG_XYZ
(
in_varray IN InputType,
in_status IN VARCHAR2,
out_cursor OUT typ_refcur
);
Reply With Quote
  #2 (permalink)  
Old 01-27-12, 16:22
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,416
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On