Hi,
I am trying to connect to an Oracle(8) database using DBI module.
I have Perl 5.8.6 installed on my machine with DBI version 1.16, and DBD
version 1.47.
Below is my program that I am using to connect to the Database
use DBI;
$db_handle = DBI->connect("dbi:Oracle:dbname", uname, pwd);
$sql_errstr = $DBI::errstr;
$sql_statement = $db_handle->prepare("select * from table");
$sql_statement->execute;
while(@row = $sql_statement->fetchrow_array)
{print("$row[0]"); }
$db_handle->disconnect;
This produces the following error:
Install_driver(Oracle) failed: Can't load
'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll for module DBD::Oracle:
load_file:The specified procedure could not be found at
C:/Perl/lib/Dynaloader.pm line230
Can anyone help with this?
Thanks,
Boris
-----------------------------------------
The information contained in this e-mail message and any attachments is
confidential, and is intended only for the use of the party to whom it
is addressed. If you are not the above-named intended recipient, you
are hereby notified that any dissemination, copying or disclosure of
this communication is strictly prohibited. If you have received this
communication in error, please notify Boston Communications Group, Inc.
immediately by reply to this message or by telephoning (781) 904-5000,
and destroy this message and its attachments, without making any copy
or distribution.