...

View Full Version : Databases/Tables checking if they exist



saecula
08-20-2006, 07:27 AM
How is it done. I was thinking, that trying to make a database/table and if it failed then it already existed but then i thought it might overwrite instead so i figured i would ask before i tried.

guelphdad
08-20-2006, 04:11 PM
If you try and make one that exists then it will not allow you to do so and will generate an error message.

You can use
SHOW DATABASES or
SHOW TABLES to see all your databases or all your tables in the currently selected database.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum