I am trying to get a stored procedure to run using the following perl modules- DBI and DBD:Oracle. I am using perl 5.6.1, Windows NT, Oracle 8i, DBI 1.20, and DBD:Oracle-1.12.
I am able to connect and perform select statements using 'prepare', but when I try the following stored procedure:
$dbh->do("exec XML_BULK_LOADER.clear_database_values ('tester')");I get the following error message:
DBD::Oracle::db do failed: ORA-0090: invalid SQL statement (DBD: error possibly near (*) indicator at char 1 in '(*)exec XML_BULK_LOADER.clear_database_values ('tester')') at ....Do 'exec' statements work with the DBI? If not, is there a workaround?
In reply to performing stored procedures with the DBI by tsu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |