File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Getting all the Tables from schema" Watch "Getting all the Tables from schema" New topic

Getting all the Tables from schema

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 288


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


Ulf Dittmer

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

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