Re: Detecting if a table in a database already exists ?
From: Ann (Anna_at_nospam.invalid)
Date: 10/12/04
- Next message: Real Gagnon: "Re: Detecting if a table in a database already exists ?"
- Previous message: Chas Douglass: "Re: Detecting if a table in a database already exists ?"
- In reply to: Thorsten Meininger: "Detecting if a table in a database already exists ?"
- Next in thread: Real Gagnon: "Re: Detecting if a table in a database already exists ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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"
- Next message: Real Gagnon: "Re: Detecting if a table in a database already exists ?"
- Previous message: Chas Douglass: "Re: Detecting if a table in a database already exists ?"
- In reply to: Thorsten Meininger: "Detecting if a table in a database already exists ?"
- Next in thread: Real Gagnon: "Re: Detecting if a table in a database already exists ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|