MYSQL 查看表定义的 4 种方法

方法 1、

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

         show create table Strings;

         

方法 2、

        show full columns from table_name;

        show full columns from Strings;

        

方法 3、

         show columns from table_name;

         show columns from Strings;

         

方法 4、

         describe table_name;

 

posted on 2014-09-29 21:09  蒋乐兴的技术随笔  阅读(2930)  评论(0编辑  收藏  举报

导航