aspose file tools*
The moose likes Java in General and the fly likes know the table name dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

know the table name dynamically

joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
joe here

is there any method to get the names of tables dynamically present in

database
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8718
    
    6

Have a look at java.sql.DatabaseMetaData


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

...and please refrain from posting the same question in more than one forum. Thanks.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19557
    
  16

I was about to move this to JDBC but there is already a copy, so this thread will be closed.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: know the table name dynamically
 
Similar Threads
User Name Validation
HELP!
Refresh page programatically
Help setting up an array and other issues
lots of "extends" ??