Hi. ----- Original Message ----- From: "Liu Haifeng" <[EMAIL PROTECTED]> To: "BAO RuiXian" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 5:20 PM Subject: Re: insertion problem
> I am sorry but I don't know where to disable the AutoCommit. If so, you should read DBI document as soon as possible. # I recommend you to read about RaiseError. DBI (SEARCH.CPAN.ORG) http://search.cpan.org/author/TIMB/DBI-1.30/DBI.pm ex. my $dbh=DBI->connect("dbi:ODBC:$dbn",'','', {AutoCommit=>0, RaiseError => 1} )|| die "$DBI::errstr\n"; or my $dbh=DBI->connect("dbi:ODBC:$dbn",'','')|| die "$DBI::errstr\n"; $dbh->{AutoCommit} = 0; ============================================== Kawai, Takanori(Hippo2000) Mail: [EMAIL PROTECTED] [EMAIL PROTECTED] http://member.nifty.ne.jp/hippo2000/index_e.htm http://www.hippo2000.info/cgi-bin/KbWikiE/KbWiki.pl The Perl Foundation Grants Are Running Out ? http://use.perl.org/articles/02/07/03/2241212.shtml http://www.perl-foundation.org/index.cgi?page=grants ==============================================