Why wont my script finish?
From: Mark Martin (mark.martin_at_MAY.IE)
Date: 11/24/04
- Next message: Tim Bunce: "Re: Oracle problem"
- Previous message: Michael A Chase tech: "Re: Oracle problem"
- Next in thread: Michael A Chase tech: "Re: Why wont my script finish?"
- Reply: Michael A Chase tech: "Re: Why wont my script finish?"
- Maybe reply: Mark Martin: "RE: Why wont my script finish?"
- Maybe reply: Ron Reidy: "RE: Why wont my script finish?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Nov 2004 14:19:52 +0000 To: dbi-users@perl.org
Hi,
I have a very simple script to delete records from an Oracle table :
#!/usr/bin/perl
use DBI;
use DBD::Oracle;
$dbh = DBI->connect( "dbi:Oracle:database", "user", "password") or die
"Can't connect to Oracle database: $DBI::errstr\n";
$dbh->do( "DELETE FROM TABLE WHERE YEAR=2003" );
exit;
the script never finishes and the records remain????
Thanks,
Mark
- Next message: Tim Bunce: "Re: Oracle problem"
- Previous message: Michael A Chase tech: "Re: Oracle problem"
- Next in thread: Michael A Chase tech: "Re: Why wont my script finish?"
- Reply: Michael A Chase tech: "Re: Why wont my script finish?"
- Maybe reply: Mark Martin: "RE: Why wont my script finish?"
- Maybe reply: Ron Reidy: "RE: Why wont my script finish?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|