aspose file tools
The moose likes JDBC and the fly likes table Names Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "table Names" Watch "table Names" New topic
Author

table Names

jb er
Greenhorn

Joined: May 02, 2003
Posts: 3
Hi,
Iam new to db.
So can some one tell me how I can get all the table names in a database.
I need it to create a jtree.
I know to get columns of a particulsr table using resultsetmetadata.
Can someone help.
J
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Try the following piece of code:


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: table Names
 
Similar Threads
Retrieve MySQL table column names
Can i build and compile a JAVA pgm in another JAVA program?
Want to get table names from db in access
help with getting the table name from the user input
How to get list of tables in MS access database into my java program