On Wed, 9 Oct 2002, Inbal Ovadia wrote:

> Hi all,
> There is a way to know if I have table x in my db?
> Let's say some catalog tables that hold information about the db like tables
> name etc.
> and i can do query like "select tables from catalogName" and get all the
> tables in the db

Hi,

I guess that's not possible.

SHOW TABLES shows your tables in the database, but unfortunately you can't
do something like SELECT * FROM (SHOW TABLES) WHERE Tables_in_xx =
'blahblah'

Of course you can create a table that contains metadata for your tables, but
you would have to update it manually. Or you could have an external program
scanning your data directories for added/removed table files.

Regards,
Iikka

******************************************
* Iikka Meriläinen                       *
* E-mail: [EMAIL PROTECTED] *
* Vaala, Finland                         *
******************************************


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to