If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > How to view the tables that exist in a database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-25-06, 02:42
Shefu Shefu is offline
Registered User
 
Join Date: Apr 2005
Posts: 127
Question How to view the tables that exist in a database

to view the tables in a database connected (say db1), i use

Code:
show tables;

how to view the tables list of a database say db2 when i am connected to db1?


regards,
Sn
Reply With Quote
  #2 (permalink)  
Old 08-29-06, 17:01
jstephens jstephens is offline
Registered User
 
Join Date: Jan 2006
Posts: 28
use db2;
show tables;
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On