more useful options | |
PerlMonks |
if table exists (DBI)by Bishma (Beadle) |
on Nov 16, 2002 at 19:23 UTC ( [id://213432]=perlquestion: print w/replies, xml ) | Need Help?? |
Bishma has asked for the wisdom of the Perl Monks concerning the following question:
Monks, I'm working with a MySql database and I'm having a little trouble with one thing. Is there a way to check if a table exists within a database without reading all of the tables into an array? Basically I want to be able to do an if-else statement. If table exists: add to it. Else: Create it and add to it. Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|