Navicat导出opencart2.3数据字典

步骤请参考:http://blog.csdn.net/maquealone/article/details/60764420

运行SQL:   备注:opcml是数据库名称。

select 
TABLE_SCHEMA,
TABLE_NAME AS '表名',
COLUMN_NAME AS '字段名', 
COLUMN_TYPE AS '数据类型',
IS_NULLABLE AS '允许为空',
EXTRA AS 'PK',
COLUMN_COMMENT AS '字段说明'
from information_schema.columns 
where TABLE_SCHEMA='opcml'

 

 查询出来后 按右上角的 导出  根据向导导出为word 或excel .

posted @ 2017-12-28 12:08    阅读(325)  评论(0编辑  收藏  举报