Home > Database > Mysql Tutorial > MySQL显示表字段及注释等信息_MySQL

MySQL显示表字段及注释等信息_MySQL

WBOY
Release: 2016-06-01 13:41:22
Original
958 people have browsed it

bitsCN.com
MySQL显示表字段及注释等信息 SHOW DATABASES                                //列出 MySQL Server 数据库。SHOW TABLES [FROM db_name]                    //列出数据库数据表。SHOW TABLE STATUS [FROM db_name]              //列出数据表及表状态信息。SHOW COLUMNS FROM tbl_name [FROM db_name]     //列出资料表字段SHOW FIELDS FROM tbl_name [FROM db_name],DESCRIBE tbl_name [col_name]。SHOW FULL COLUMNS FROM tbl_name [FROM db_name]//列出字段及详情    SHOW FULL FIELDS FROM tbl_name [FROM db_name] //列出字段完整属性SHOW INDEX FROM tbl_name [FROM db_name]       //列出表索引。SHOW STATUS                                  //列出 DB Server 状态。SHOW VARIABLES                               //列出 MySQL 系统环境变量。SHOW PROCESSLIST                             //列出执行命令。SHOW GRANTS FOR user                         //列出某用户权限 bitsCN.com

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template