in reply to Win32::ODBC and MoreResults()
Looking once more a the Win32::ODBC docs, for MoreResults() it says "Not all drivers support this." .. but still, even if your driver does support it, i doubt it can handle it for mixed INSERT and SELECT statements.$db->Sql("INSERT INTO T_Test (C_Data) VALUES ('data')"); $db->Sql("SELECT GETDATE() AS C_ID"); $db->FetchRow(); print "2 : ".$db->Data("C_ID")."\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::ODBC and MoreResults()
by Lyndley (Novice) on Aug 11, 2005 at 12:30 UTC | |
by davidrw (Prior) on Aug 11, 2005 at 12:36 UTC | |
by Lyndley (Novice) on Aug 11, 2005 at 13:03 UTC |