MySQL Forums :: Data Dictionary & Information Schema :: How to check with SQL if a table exists


Advanced Search

How to check with SQL if a table exists
Posted by: jmf ()
Date: July 12, 2005 07:13AM

Hello,

I have to check if a table whether exists or not because depending on the answer I will have to update a record or insert it.

I tried many things but none worked. How can I do this with MySQL ?

Thanks.

Options: ReplyQuote


Subject Views Written By Posted
How to check with SQL if a table exists 151598 jmf 07/12/2005 07:13AM
Re: How to check with SQL if a table exists 86343 Roland Bouman 07/12/2005 01:53PM
Re: How to check with SQL if a table exists 69773 jmf 07/13/2005 05:57AM
Re: How to check with SQL if a table exists 62612 KimSeong Loh 07/12/2005 06:49PM
Re: How to check with SQL if a table exists 44005 jmf 07/13/2005 05:58AM
Re: How to check with SQL if a table exists 46375 Roland Bouman 07/13/2005 12:22AM
Re: How to check with SQL if a table exists 36704 jmf 07/13/2005 05:59AM
Re: How to check with SQL if a table exists 42445 jmf 07/13/2005 06:33AM
Re: How to check with SQL if a table exists 22946 shan jin 03/17/2009 11:45PM
Re: How to check with SQL if a table exists 43426 Roland Bouman 07/13/2005 06:13AM
Re: How to check with SQL if a table exists 23812 Roland Bouman 07/13/2005 07:02AM
Re: How to check with SQL if a table exists 16739 Roland Bouman 07/13/2005 07:04AM
Re: How to check with SQL if a table exists 20007 jmf 07/13/2005 07:16AM
Re: How to check with SQL if a table exists 16126 mvdkwast 08/19/2005 07:27AM
Re: How to check with SQL if a table exists 14707 Roland Bouman 08/19/2005 07:33AM
Re: How to check with SQL if a table exists 9990 Mike Harris 08/19/2008 03:46AM
Re: How to check with SQL if a table exists 37669 www.phpcontrol.com 08/30/2005 08:48AM
Re: How to check with SQL if a table exists 16022 Bora Turan 10/26/2006 06:13PM
Re: How to check with SQL if a table exists 13057 Kedar Waghmode 01/11/2007 04:35AM
Re: How to check with SQL if a table exists 18173 Tau Lim 06/03/2007 10:57AM
Re: How to check with SQL if a table exists --> Here is a function to use 21413 jeff maass 07/19/2008 05:10PM
Re: How to check with SQL if a table exists --> Here is a function to use 12819 Pratik Asthana 03/19/2009 12:15AM
Re: How to check with SQL if a table exists 13972 Pratik Asthana 03/19/2009 12:17AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.