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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 288

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: 39576
    
  27
That's what the DatabaseMetaData class and its getTables method are for.


Ping & DNS - updated with new look and Ping home screen widget
 
 
subject: Getting all the Tables from schema
 
Similar Threads
Generating XML documents from schema for tests
adding id members to various classes
To get all the Constraints from a particulat schema in derby database
what is XML schema
WA #1.....word association