This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8834
    
    7

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: 19649
    
  18

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: know the table name dynamically
 
Similar Threads
HELP!
User Name Validation
lots of "extends" ??
Refresh page programatically
Help setting up an array and other issues