in reply to Input output binding using DBI
I dont see you executing a stored procedure. I see you executing a select statuement...
Select * from sun_t_attm_temp_posm1d002
what you probably want to prepare is a PL/SQL block like...
BEGIN Par_Reports_Pos.SUN_PRC_AT_I_POSM1D002(?, ?); END;
then your binds would change to...
my $retCode; my $retMsg; $sth->bind_param_inout(1, \$retCode, 100); $sth->bind_param_inout(2, \$retMsg, 100);
$regCode and $regMsg would then be set with the results of the procedure call after you execute.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Input output binding using DBI
by Nesh (Beadle) on Apr 06, 2005 at 00:46 UTC | |
by mifflin (Curate) on Apr 06, 2005 at 01:50 UTC |