DBD::Oracle::db prepare failed: error
528366Sep 11 2006 — edited Oct 8 2006Hi,<br><br>
I am running a perl script which accesses the Oracle 10g Express. And Im getting this error.
<br>
DBD::Oracle::db prepare failed: ERROR Database disconnected
<br><br>
Here's my code snippet.
<br>
<tt>
my $query = "SELECT emp_single
FROM customer WHERE school = ? ";<br>
my $sth = $dbh->prepare($query);<br>
$sth->execute($school);<br>
</tt>
<br><br>
The database instance is created properly.
<br><br>
Can anybody help me with this??
<br><br>
Thanks.
<br>
Thilani