| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Ryan Stille | Date: | October 6 2005 4:15pm |
| Subject: | RE: Detect if table exists from within MySQL? | ||
| View as plain text | |||
> If 'SHOW COLUMNS FROM tablename' returns error 1146 (42S02), the > table doesn't exist. This causes my application (ColdFusion) to throw an exception. If I have to, I could resort to doing another query in my application (SHOW TABLES) and seeing if my table was returned in that list. But I was hoping for a more elegant way to do it, within the single query. -Ryan
| Thread | ||
|---|---|---|
| • Detect if table exists from within MySQL? | Ryan Stille | 6 Oct |
| • Re: Detect if table exists from within MySQL? | Peter Brawley | 6 Oct |
| • A question about stored procedures | Leonardo Javier BelĂ©n | 6 Oct |
| • Re: A question about stored procedures | Gleb Paharenko | 7 Oct |
| • Re: Detect if table exists from within MySQL? | Jeff Smelser | 6 Oct |
| • RE: Detect if table exists from within MySQL? | Ryan Stille | 6 Oct |
| • Re: Detect if table exists from within MySQL? | Keith Ivey | 6 Oct |
| • RE: A question about stored procedures | Sujay Koduri | 6 Oct |
| • RE: Detect if table exists from within MySQL? | Ryan Stille | 6 Oct |
