The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Install Guide: Oracle Database 11g Release 1 on Oracle Enterprise Linux 5 iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
Upgrade Guide: Moving to Oracle RAC 11g on Oracle Enterprise Linux iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
Integrating the Oracle Designer Legacy Table API with Oracle JDeveloper 11g ADF Busin iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
Install Oracle RAC 10g on Oracle Enterprise Linux using VMware Server iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
Oracle and Symantec Certify Veritas Data Center Solutions on Oracle - WebWire (press iBot UNIX and Linux RSS News 0 07-17-2007 05:30 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-13-2008
Registered User
 

Join Date: Feb 2008
Posts: 2
Angry perl dbi to oracle getting disconnect_all for oracle dbi help

hi i am trying to connect to an oracle database using dbi and i get this ::

Driver has not implemented the disconnect_all method. at /opt/perl/lib/site_perl/5.8.0/sun4-solaris/DBI.pm line 575
END failed--call queue aborted.


for all i know, the script was working earlier, but has suddenly stopped working.

i cannot take a trace or find the log since log4perl is not installed. i cannot install any cpan module.

need help:::this is what i am using for connectibng::

my $db = DBI->connect("dbi:Oracle:$oracle_sid", "$oracle_user", "$oracle_passwd")

$db->{RaiseError} = 1;
my $sth = $db->prepare("SELECT query here...");

$sth->execute()

while (my @row = $sth->fetchrow_array)
{
my $a = $row[0];
my $b = $row[1];

next unless $a;
next unless $b;

}
$db->disconnect;
Reply With Quote
Forum Sponsor
  #2  
Old 02-13-2008
Registered User
 

Join Date: Feb 2008
Posts: 2
the language is perl
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0