- 博客(0)
- 资源 (1)
- 收藏
- 关注
2019年行政区域规划表(3月更新)
2019年行政区域规划表
-- Create table
create table SYS_AREA
(
area_no VARCHAR2(15) not null,
area_name VARCHAR2(80) not null,
lev VARCHAR2(1),
uplev VARCHAR2(15),
area_sts VARCHAR2(1),
if_leaf VARCHAR2(2),
area_row VARCHAR2(6),
post_code VARCHAR2(8)
)
tablespace TBS_MCMSDB_DATA
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 256K
next 8K
minextents 1
maxextents unlimited
);
-- Add comments to the table
comment on table SYS_AREA
is '行政区划表';
-- Add comments to the columns
comment on column SYS_AREA.area_no
is '行政区划编号';
comment on column SYS_AREA.area_name
is '行政区划名称';
comment on column SYS_AREA.lev
is '行政级别';
comment on column SYS_AREA.uplev
is '上级编号';
comment on column SYS_AREA.area_sts
is '行政区划状态';
comment on column SYS_AREA.if_leaf
is '是否叶子节点';
comment on column SYS_AREA.area_row
is '行政区划排序';
comment on column SYS_AREA.post_code
is '邮政编码';
-- Create/Recreate indexes
create unique index SYS_AREA_IDX1 on SYS_AREA (AREA_NO)
tablespace TBS_MCMSDB_DATA
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 192K
next 1M
minextents 1
maxextents unlimited
);
2019-04-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人