aDayLate has asked for the wisdom of the Perl Monks concerning the following question:
I would like to replace the select statement with a oracle stored procedure call because I want all my SQL to be compiled on the DB.$dbh = DBI->connect (dbname, $dbuser, $dbpass, 'Oracle'); if (!defined $dbh) { print LOG "Cannon connect to Oracle: $DBI::errstr\n"; die "Cannont connect to Oracle: $DBI::errstr\n"; } $sth1 = $dbh->prepare ("select user from users where state = 'iowa'");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: calling stored procedures in oracle
by btrott (Parson) on Mar 21, 2000 at 04:14 UTC | |
by aDayLate (Initiate) on Mar 22, 2000 at 03:33 UTC | |
by Anonymous Monk on Mar 22, 2000 at 06:13 UTC |