pete_c has asked for the wisdom of the Perl Monks concerning the following question:
Please help...
I'm attempting to call an oracle function which takes a date as one of it's input parameters... I do this...I get:$cursor = $dbh->prepare("BEGIN create_person( ?, ?, ?, ?, ?, ?, ?, ?, +?, ? ); END;"); $cursor->bind_param(1, $title); $cursor->bind_param(2, $name); $cursor->bind_param(3, $surname); $cursor->bind_param(4, $sex); $cursor->bind_param(5, $date); $cursor->bind_param(6, $origin); $cursor->bind_param(7, $user); $cursor->bind_param_inout(8, \$person, 10); $cursor->bind_param_inout(9, \$errCode, 1024); $cursor->bind_param_inout(10, \$errNum, 1024); $cursor->execute();
Narrowed it down to the date field (but i could be wrong).... Any ideas what's going on?
Cheers in advance!janitored by ybiC: <code> tags around code, <tt> tags around error message
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Binding a date in a call to an Oracle function
by hmerrill (Friar) on Oct 03, 2003 at 17:45 UTC | |
|
Re: Binding a date in a call to an Oracle function
by dragonchild (Archbishop) on Oct 03, 2003 at 16:17 UTC | |
by seaver (Pilgrim) on Oct 03, 2003 at 16:39 UTC | |
|
Re: Binding a date in a call to an Oracle function
by VSarkiss (Monsignor) on Oct 03, 2003 at 16:17 UTC | |
|
Re: Binding a date in a call to an Oracle function
by pete_c (Initiate) on Oct 06, 2003 at 14:17 UTC |