You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
SQL
27 lines
1.2 KiB
SQL
create table tb_actn_info
|
|
(
|
|
ACTN_INFO_ID varchar(10) not null comment '조치 정보 ID'
|
|
primary key,
|
|
SGG_CD varchar(5) not null comment '시군구 코드',
|
|
CRDN_YR char(4) null comment '단속 연도',
|
|
CRDN_NO varchar(6) null comment '단속 번호',
|
|
ACT_INFO_ID varchar(10) not null comment '행위 정보 ID',
|
|
ACTN_YMD varchar(8) null comment '조치 일자',
|
|
ACTN_AREA decimal(10, 2) null comment '조치 면적',
|
|
ACTN_RMRK varchar(1000) null comment '조치 비고',
|
|
REG_DT datetime null comment '등록 일시',
|
|
RGTR varchar(11) null comment '등록자',
|
|
MDFCN_DT datetime null comment '수정 일시',
|
|
MDFR varchar(11) null comment '수정자',
|
|
DEL_YN char not null comment '삭제 여부',
|
|
DEL_DT datetime null comment '삭제 일시',
|
|
DLTR varchar(11) null comment '삭제자'
|
|
)
|
|
comment '조치 정보';
|
|
|
|
create index idx_actn_info_act_info_id
|
|
on tb_actn_info (ACT_INFO_ID);
|
|
|
|
create index idx_actn_info_crdn_yrno
|
|
on tb_actn_info (CRDN_NO, CRDN_YR, SGG_CD);
|