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

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

Passing array as input to procedure from sqlplus-HELP

From: Basavaraja, Ravindra <Ravindra.Basavaraja_at_T-Mobile.com>
Date: Tue, 17 Jun 2003 13:28:17 -0700
Message-ID: <F001.005B350B.20030617125918@fatcity.com>


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). Received on Tue Jun 17 2003 - 15:28:17 CDT

Original text of this message

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