Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

Getting Information About Databases and Tables

Posted: Sep/24/2009   By: nikhil   Points:15   Category: MySQL  - Others    Views:82   Vote Up (0)   Vote Down (0)    
You have previously seen SHOW DATABASES, which lists the databases managed by the server. To find out which database is currently selected, use the DATABASE() function: The name of the column in the output produced by this statement is always Tables_in_db_name, where db_name is the name of the database. See Section 12.5.5.34, "SHOW TABLES Syntax", for more information.
If you want to find out about the structure of a table, the DESCRIBE command is useful; it displays information about each of a table's columns:

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources
 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge