We don't bite newbies here... much | |
PerlMonks |
Re: Checking for DB table existence using DBI/DBDby JamesNC (Chaplain) |
on Oct 14, 2005 at 11:47 UTC ( [id://500208]=note: print w/replies, xml ) | Need Help?? |
Learn about EXISTS ( you need to know it so you can do an update/insert statement in the same pass anyway )
On MSSQL/Sybase I would do something like:
You need to consult the docs as to how your database implements EXISTS which normally operates on a subquery and returns a boolean. JamesNC
In Section
Seekers of Perl Wisdom
|
|