MySQL Forums
Forum List  »  Newbie

Re: Printing Table Structure
Posted by: Barry Galbraith
Date: January 31, 2016 09:15PM

Is this what you mean?

mysql> SHOW CREATE TABLE product \G
*************************** 1. row ***************************
       Table: product
Create Table: CREATE TABLE `product` (
  `id` int(10) unsigned NOT NULL,
  `name` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
1 row in set (0.00 sec)

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
January 31, 2016 06:22PM
Re: Printing Table Structure
January 31, 2016 09:15PM
January 31, 2016 09:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.