global has asked for the wisdom of the Perl Monks concerning the following question:
just starting down the road with PERL and trying to work with databases. I am using Postgres and Cisco Netflow data. I am creating a table for the day eg 20030219 and would then like to just add my data to the table but for each flow file I would like to create the table if it isn't already there BUT ignore the warning message that is created if it is already there.
The $sth->execute or die statement needs to basically handle ignore the situation if the table is already created or die if there is any other problem. Unless there is a better way in Postgres to handle this. Thanks, Hugh
|
|---|