1. 程式人生 > >MySQL中創建表指定存儲引擎

MySQL中創建表指定存儲引擎

bsp rem sam 建表 tab sig incr ron 創建

create table test(
id int(10) unsigned not null auto_increment,
name varchar(10) character set utf8,
age int(10),
primary key(id)
)
engine=MyISAM

create table test(
id int(10) unsigned not null auto_increment,
name varchar(10) character set utf8,
age int(10),
primary key(id)
)
engine=MEMORY

create table test(


id int(10) unsigned not null auto_increment,
name varchar(10) character set utf8,
age int(10),
primary key(id)
)
engine=INNODB

MySQL中創建表指定存儲引擎