in reply to Re: Calling Stored procedure from perl
in thread Calling Stored procedure from perl
Thank you very much for your reply. can u please tell me what is happening here and what i need to learn to understand below code.
my $sql = qq|$strStoredProc $strArg|; if ($mydb->Sql($sql)) { Win32::ODBC::DumpError(); } if ($mydb->FetchRow()) { %DataSet = $mydb->DataHash(); $strResultValue = $DataSet{$strResultField}; } else { writelog(info,"No row found for $strResultField"); $mydb->Close(); } $mydb->Close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Calling Stored procedure from perl
by Utilitarian (Vicar) on Mar 02, 2010 at 08:54 UTC |