Faircube Networks - Custom programming projects, internet consulting, web design, and various other multimedia and graphic design solutions.
 
Home arrow MySQL arrow Show status information on a table
Show status information on a table

Show status information on a table. Note, if the database was started
with --safe-show-database or --skip-show-database some of these commands
may not work. Note the "\G" option may provide a nicer format.

Show the create statement:

 

mysql> show create table dupTest\G
show create table dupTest\G
*************************** 1. row ***************************
  Table: dupTest
Create Table: CREATE TABLE `dupTest` (
  `pkey` int(11) NOT NULL auto_increment,
  `a` int(11) default NULL,
  `b` int(11) default NULL,
  `c` int(11) default NULL,
  `timeEnter` timestamp NOT NULL,
  PRIMARY KEY  (`pkey`),
  UNIQUE KEY `a` (`a`,`b`)
) TYPE=MyISAM DEFAULT CHARSET=latin1
1 row in set (0.00 sec)

 

 

 
 
Home | Services | Portfolio | Support | Prices | About Us | Privacy | Terms | Website Resources | Legal
Copyright © 1999-2007 Faircube Networks Inc. All Rights Reserved.