Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Geting tables names from data base file

 
nabi bux
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
every body I have a Database in acess i want to get the name of tables in Data base how i get them please help.
thanks
 
stu derby
Ranch Hand
Posts: 333
 
nabi bux
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply
But If give me some code please
thanks again
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nabi,
Take a look at the getTables() method. You can pass null for most of the parameters if you want to get all the tables.
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a little more help you can find at

http://www.coderanch.com/t/302067/JDBC/java/table-names

Shailesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic