時間:2024-03-08 08:50作者:下載吧人氣:21
create table t_centerprises(
objectid bigint not null, /*唯一編號(6位行政區號+6位sn)*/
divid uuid not null, /*行政區唯一代碼*/
name text not null, /*企業名稱*/
address text not null, /*企業地址*/
post text, /*企業郵編*/
contacts text, /*聯系人*/
tel text, /*聯系電話*/
fax text, /*傳真*/
describe text, /*企業備注*/
date timestamp default now() not null, /*創建日期*/
constraint pk_centerprisess_objectid primary key (objectid),
constraint fk_centerprises_divid foreign key(divid) references ts_divisions(objectid) on delete cascade
);
create index idx_centerprises_divid on t_centerprises(divid);
網友評論