码迷,mamicode.com
首页 > 数据库 > 详细

MYSQL 查看表定义的 3 种方法

时间:2014-09-29 23:48:21      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:blog   http   sp   2014   c   log   代码   r   bs   

方法 1、

         show create table table_name;可以用这个看表的代码。

         show create table Strings;

         bubuko.com,布布扣

方法 2、

        show full columns from table_name;

        show full columns from Strings;

        bubuko.com,布布扣

方法 3、

         show columns from table_name;

         show columns from Strings;

         bubuko.com,布布扣

 

MYSQL 查看表定义的 3 种方法

标签:blog   http   sp   2014   c   log   代码   r   bs   

原文地址:http://www.cnblogs.com/JiangLe/p/4000987.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!