aspose file tools
The moose likes JDBC and Relational Databases and the fly likes names and properties of tables in database using jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "names and properties of tables in database using jdbc" Watch "names and properties of tables in database using jdbc" New topic
Author

names and properties of tables in database using jdbc

bryan lim
Ranch Hand

Joined: Dec 26, 2008
Posts: 140
Hi all,

How do I use jdbc to find out the properties of the available tables within a database?

Thanks,
bryan
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
That's what java.sql.DatabaseMetaData provides. You can get an instance from the Connection object.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: names and properties of tables in database using jdbc