Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. how to get name of all tables in msaccess database

how to get name of all tables in msaccess database

Scheduled Pinned Locked Moved Database
databaseoracletutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sumit21
    wrote on last edited by
    #1

    i have a MS-Access database db1.mdb now i want to get the name of all the tables in my program which are in db1 like in oracle "select 8 from tab" which returns names of all tables do we have any such query in Ms-Acess

    R 1 Reply Last reply
    0
    • S sumit21

      i have a MS-Access database db1.mdb now i want to get the name of all the tables in my program which are in db1 like in oracle "select 8 from tab" which returns names of all tables do we have any such query in Ms-Acess

      R Offline
      R Offline
      rwestgraham
      wrote on last edited by
      #2

      It's generally good practice to add tables to your database that provide a definition of the database structure, so if you do that you can of course retrieve table names that way. The other option is to use ADOX. Do an MSDN search on ADOX - it provides methods for enumerating all objects in a database. Robert

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups