aspose file tools*
The moose likes JDBC and the fly likes Getting all the Tables from schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Getting all the Tables from schema" Watch "Getting all the Tables from schema" New topic
Author

Getting all the Tables from schema

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

Hi

I need an Mysql query to get all the table in a schema. from java application

Thanks


-Chiru
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41855
    
  63
That's what the DatabaseMetaData class and its getTables method are for.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: Getting all the Tables from schema