Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Passing array as input to procedure from sqlplus-HELP

RE: Passing array as input to procedure from sqlplus-HELP

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Tue, 17 Jun 2003 14:11:26 -0700
Message-ID: <F001.005B362E.20030617133451@fatcity.com>

exec testproc(pid_varray(1,2,3,4,5));

Raj



Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. QOTD: Any clod can have facts, having an opinion is an art !

-----Original Message-----
From: Basavaraja, Ravindra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 17, 2003 4:59 PM
To: Multiple recipients of list ORACLE-L Subject: Passing array as input to procedure from sqlplus-HELP

Hi All,

I want to test a procedure that accepts an array as input.I want to test this script from
SQL*PLUS.How can I pass array value from sql*plus

Procedure testproc(iarrPID              IN PID_VArray).

I want to test it this way

SQL>Exec testproc(?????)

Tried this was
SQL>EXEC testproc(33);

ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'testproc'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Pls help

Thanks
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Basavaraja, Ravindra
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from).  You may also send the HELP command for other information (like subscribing).
********************************************************************This e-mail 
message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank
you.*********************************************************************2
Received on Tue Jun 17 2003 - 16:11:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US