Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Ignore Relation already exists error from DBI

by Jonathan (Curate)
on Feb 20, 2003 at 11:27 UTC ( #237049=note: print w/replies, xml ) Need Help??


in reply to Ignore Relation already exists error from DBI

If you just want to ignore the table creation error why not perform the sql in a block with local overrides for DBI's RaiseError and PrintError methods? You will, of course, have to then explicitly test your SQL statements outcome but you will have complete control over what is fatal and what you're happy to ignore. perldoc DBI for more information
  • Comment on Re: Ignore Relation already exists error from DBI

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://237049]
help
Chatterbox?
[LanX]: cho: your joke has very limited impact on a non German+Czech speaking board ... we need to create one and invite Lichtkind and "Peta...Monk"
[Eily]: I still don't understand how the Turkish AA fit into the German+Czech joke though :P
[LanX]: new Firefox + cb sidebar do random auto expand on submit

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-03-27 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.