rohanan has asked for the wisdom of the Perl Monks concerning the following question:
Recordset(GetDataRS)-
Running a query without a recordset(RunDBCmd)$RS = Win32::OLE->new("ADODB.Recordset"); $RS->Open($sql, $Conn, 1, 1); return $RS
How can I expect errors when I execute bad commands like - $SQLStr = "TRUNCATEsasdsa TABLE $database.dbo.$Tblname"; or $SQLStr = "EXEC <Storedprocedure with errors in it> "; thank you. -Ron$RS = Win32::OLE->new("ADODB.Recordset"); $RS->Open($sql, $Conn, 1, 1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find the status of the execution for stored procedure/SQL query using Perl
by Anonymous Monk on Jan 27, 2012 at 21:17 UTC | |
|
Re: Find the status of the execution for stored procedure/SQL query using Perl
by chacham (Prior) on Jan 29, 2012 at 11:52 UTC |