Re: Detecting if a table in a database already exists ?

From: Ann (Anna_at_nospam.invalid)
Date: 10/12/04


Date: Tue, 12 Oct 2004 21:51:18 GMT


"Thorsten Meininger" <t_meining@hotmail.com> wrote in message
news:ckh7eh$1nk$03$1@news.t-online.com...
> Sorry for this newbie question:
> How do I find out from a java source if a table in a database already
exists?
>
> I cannot believe that I have to execute a SELECT statement and if there is
an exception
> I know that the table does not exist. But this is a really inconvenient
solution.
> There must be a direct request statement.
>
> Thorsten

MySQL has "show tables"



Relevant Pages