您的位置:首页 > 博客中心 > 数据库 >

MYSQL 查看表定义的 3 种方法

时间:2022-03-14 00:27

方法 1、

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

         show create table Strings;

         gxlsystem.com,布布扣

方法 2、

        show full columns from table_name;

        show full columns from Strings;

        gxlsystem.com,布布扣

方法 3、

         show columns from table_name;

         show columns from Strings;

         gxlsystem.com,布布扣

 

热门排行

今日推荐

热门手游