Home > Database > Mysql Tutorial > Mysql几个比较常用的命令_MySQL

Mysql几个比较常用的命令_MySQL

WBOY
Release: 2016-06-01 13:27:00
Original
928 people have browsed it

bitsCN.com

1 查看表结构: show create table name;

2 查看mysql支持的引擎 show engines;
其中InnoDB这种支持事务,必须开启事务才可以进行增删改查
MyISAM 就不支持外键和事务了,所以用hibernate不开启事务 都是可以执行sql语句。
3 查看表 show tables
4 查看表字段类型 desc tables 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