Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> How to send multiple bind vars in perl DBI?
Hello,
I have a perl DBI script that connects to a remote machine and sends a single value to a stored procedure. The script reads the returned data just fine.
I have been informed that the remote stored procedure now requires three values instead of one. I'm pretty sure that I will need to change my execute() statement to pass a list instead of a scalar. Sending it a list now results in the "called with 3 bind variables when 1 are needed" error, which is not surprising.
What I don't know, is, how do I change the procedure call:
STORED_PROC01(?); such that it accepts a list instead of a single value?
This is the essence of what I have, and it works with a single parameter:
#----------------------------------
#----------------------------------
Now I need to start sending STORED_PROC01 lists like:
'foo', 'bar', 'baz'
or
NULL, NULL, '012345'
or
'foo', NULL, NULL
etc.
Can anyone point me to a clue?
Thanks
-- ___________________ revjack_at_revjack.netReceived on Mon Jun 30 2003 - 10:16:45 CDT
![]() |
![]() |