|
|
| XP is just a number | |
| PerlMonks |
Re: Best Perlish way to test if a mysql table exists?by gwhite (Friar) |
| on Jan 30, 2005 at 21:47 UTC ( [id://426488]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
How about: @names = $dbh->tables( '', '', 'r6019', 'TABLE');If you get something back you are good to go, if not skip it and go to the next table. I would also index either the misses or hits (lessor of the two) if you might hit the same table multiple times.
g_White
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||