Two Laptop Bag*
The moose likes JDBC and the fly likes retrieve table name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "retrieve table name" Watch "retrieve table name" New topic
Author

retrieve table name

mkabdul kadermk
Greenhorn

Joined: Jun 04, 2010
Posts: 10


how can i retrive all table names in mysql database
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Use the INFORMATION_SCHEMA TABLES.


[My Blog]
All roads lead to JavaRanch
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

select * from tab


use this ... this might help


http://plainoldjavaobject.blogspot.in
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

Please do check your private messages. There is a message for you regarding an administrative matter.

You have several posts open on this topic. Let's keep the discussion in this one.


OCUP UML fundamental and ITIL foundation
youtube channel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: retrieve table name