Results 1 to 3 of 3
  1. #1
    yurako is offline Novice
    Windows 7 Access 2007
    Join Date
    Nov 2009
    Posts
    3

    SQL - find out whether a table exists

    Hey guys,



    I am writing a C# program that accesses my Access DB.

    What is the SQL query that figures out whether a certain table exists in the DB?

    Thanks

  2. #2
    llkhoutx is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    Try merely opening the table and trapping the error if it doesn't exist. Close it, of course, if it exists.

  3. #3
    yurako is offline Novice
    Windows 7 Access 2007
    Join Date
    Nov 2009
    Posts
    3

    Thanks

    That what I did. works perfectly

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 11-30-2009, 05:05 AM
  2. Find tables
    By Jaime in forum Access
    Replies: 2
    Last Post: 11-04-2009, 01:52 PM
  3. program find button to search whole table
    By sammer021486 in forum Programming
    Replies: 2
    Last Post: 10-01-2009, 06:36 AM
  4. Create Table If Not Exists
    By jp2access in forum Queries
    Replies: 7
    Last Post: 07-14-2009, 12:49 PM
  5. can't find language DLL
    By tequila in forum Access
    Replies: 0
    Last Post: 05-01-2008, 09:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums