Ryan Frantz wrote: > But that does not work. Then I saw that for non-SELECT statements > (which I assume an EXEC is not; I'm new to DBs), that it will return > "OEO" if nothing was affected. I think, though, that this refers more > to INSERT and its ilk. > > Should I set RaiseError to 1? > > $dbh->{RaiseError} = 1; > > Will that help me skip over errors? Or just give me better output > when I do encounter one? I'm going to monkey around with it.
Ah I thought that DBI threw errors by default to be trapped with the eval(). Turn RaiseError on. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>