• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

table Names

 
jb er
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the following piece of code:
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic