mysql数据库建表语句
--createcreatetableDMB_BDXX(IDNUMBER(10)notnull,MCVARCHAR2(100)notnull,ZVARCHAR2(100)...
--create
create table DMB_BDXX
(
ID NUMBER(10) not null,
MC VARCHAR2(100) not null,
Z VARCHAR2(100) not null,
ZXJB NUMBER(10) not null,
BZ VARCHAR2(200)
)
tablespace CONFIG_SPACE
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K minextents 1 maxextents unlimited
);
-- Create/Recreate primary, unique and foreign key constraints
alter table DMB_BDXX
add constraint PK_DMB_ID primary key (ID)
using index
tablespace CONFIG_SPACE
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K minextents 1 maxextents unlimited
);
怎么把以上的oracle建表语句转换成mysql建表语句? 展开
create table DMB_BDXX
(
ID NUMBER(10) not null,
MC VARCHAR2(100) not null,
Z VARCHAR2(100) not null,
ZXJB NUMBER(10) not null,
BZ VARCHAR2(200)
)
tablespace CONFIG_SPACE
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K minextents 1 maxextents unlimited
);
-- Create/Recreate primary, unique and foreign key constraints
alter table DMB_BDXX
add constraint PK_DMB_ID primary key (ID)
using index
tablespace CONFIG_SPACE
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K minextents 1 maxextents unlimited
);
怎么把以上的oracle建表语句转换成mysql建表语句? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |