oracle sql修改
This commit is contained in:
parent
bd7c3e45a5
commit
bc590ef10d
|
|
@ -90,23 +90,6 @@ CREATE TABLE hrsa_add_up_situation(
|
|||
tenant_key varchar2(10) DEFAULT ''
|
||||
)
|
||||
|
||||
/
|
||||
create sequence hrsa_add_up_situation_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_add_up_situation_Tri
|
||||
before insert on hrsa_add_up_situation
|
||||
for each row
|
||||
begin
|
||||
select hrsa_add_up_situation_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -157,20 +140,6 @@ CREATE TABLE hrsa_attend_quote_data(
|
|||
tenant_key varchar2(10) DEFAULT ''
|
||||
)
|
||||
|
||||
/
|
||||
create sequence hrsa_attend_quote_data_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_attend_quote_data_Tri
|
||||
before insert on hrsa_attend_quote_data
|
||||
for each row
|
||||
begin
|
||||
select hrsa_attend_quote_data_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
CREATE TABLE hrsa_attend_quote_data_value(
|
||||
|
|
@ -388,25 +357,6 @@ CREATE TABLE hrsa_bill_detail(
|
|||
tenant_key varchar2(10) NOT NULL
|
||||
)
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_bill_detail_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_bill_detail_Tri
|
||||
before insert on hrsa_bill_detail
|
||||
for each row
|
||||
begin
|
||||
select hrsa_bill_detail_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TABLE hrsa_bill_detail_temp(
|
||||
|
|
@ -492,22 +442,6 @@ CREATE TABLE hrsa_bill_inspect(
|
|||
|
||||
)
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_bill_inspect_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_bill_inspect_Tri
|
||||
before insert on hrsa_bill_inspect
|
||||
for each row
|
||||
begin
|
||||
select hrsa_bill_inspect_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -660,23 +594,6 @@ CREATE TABLE hrsa_formula(
|
|||
update_time date NOT NULL
|
||||
)
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_formula_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_formula_Tri
|
||||
before insert on hrsa_formula
|
||||
for each row
|
||||
begin
|
||||
select hrsa_formula_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TABLE hrsa_formula_var(
|
||||
|
|
@ -694,23 +611,6 @@ CREATE TABLE hrsa_formula_var(
|
|||
update_time date NOT NULL
|
||||
)
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_formula_var_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_formula_var_Tri
|
||||
before insert on hrsa_formula_var
|
||||
for each row
|
||||
begin
|
||||
select hrsa_formula_var_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TABLE hrsa_fund_archives(
|
||||
|
|
@ -733,22 +633,6 @@ CREATE TABLE hrsa_fund_archives(
|
|||
tenant_key varchar2(10) NOT NULL
|
||||
)
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_fund_archives_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_fund_archives_Tri
|
||||
before insert on hrsa_fund_archives
|
||||
for each row
|
||||
begin
|
||||
select hrsa_fund_archives_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -767,24 +651,6 @@ CREATE TABLE hrsa_insurance_category(
|
|||
)
|
||||
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_insurance_category_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_insurance_category_Tri
|
||||
before insert on hrsa_insurance_category
|
||||
for each row
|
||||
begin
|
||||
select hrsa_insurance_category_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TABLE hrsa_other_archives(
|
||||
id NUMBER(38,0) PRIMARY KEY NOT NULL,
|
||||
|
|
@ -803,22 +669,6 @@ CREATE TABLE hrsa_other_archives(
|
|||
delete_type number NOT NULL,
|
||||
tenant_key varchar2(10) NOT NULL
|
||||
)
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_other_archives_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_other_archives_Tri
|
||||
before insert on hrsa_other_archives
|
||||
for each row
|
||||
begin
|
||||
select hrsa_other_archives_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
CREATE TABLE hrsa_other_deduction(
|
||||
|
|
@ -967,24 +817,6 @@ CREATE TABLE hrsa_salary_archive(
|
|||
tenant_key varchar2(10) DEFAULT ''
|
||||
)
|
||||
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_salary_archive_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_salary_archive_Tri
|
||||
before insert on hrsa_salary_archive
|
||||
for each row
|
||||
begin
|
||||
select hrsa_salary_archive_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TABLE hrsa_salary_archive_dimission(
|
||||
|
|
@ -1111,21 +943,6 @@ CREATE TABLE hrsa_salary_item(
|
|||
data_type varchar2(20) NOT NULL
|
||||
)
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_salary_item_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_salary_item_Tri
|
||||
before insert on hrsa_salary_item
|
||||
for each row
|
||||
begin
|
||||
select hrsa_salary_item_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1180,23 +997,6 @@ CREATE TABLE hrsa_salary_send_info(
|
|||
tenant_key varchar2(10) DEFAULT ''
|
||||
)
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_salary_send_info_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_salary_send_info_Tri
|
||||
before insert on hrsa_salary_send_info
|
||||
for each row
|
||||
begin
|
||||
select hrsa_salary_send_info_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1414,21 +1214,6 @@ CREATE TABLE hrsa_salary_sob_item_group(
|
|||
tenant_key varchar2(10) NOT NULL
|
||||
)
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_salary_sob_item_group_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_salary_sob_item_group_Tri
|
||||
before insert on hrsa_salary_sob_item_group
|
||||
for each row
|
||||
begin
|
||||
select hrsa_salary_sob_item_group_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
CREATE TABLE hrsa_salary_sob_range(
|
||||
|
|
@ -1582,21 +1367,6 @@ CREATE TABLE hrsa_sob_default_item_group(
|
|||
tenant_key varchar2(10) DEFAULT ''
|
||||
)
|
||||
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_sob_default_i_g_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_sob_default_i_g_Tri
|
||||
before insert on hrsa_sob_default_item_group
|
||||
for each row
|
||||
begin
|
||||
select hrsa_sob_default_i_g_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
CREATE TABLE hrsa_social_archives(
|
||||
|
|
@ -1618,21 +1388,6 @@ CREATE TABLE hrsa_social_archives(
|
|||
tenant_key varchar2(10) NOT NULL
|
||||
)
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_social_archives_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_social_archives_Tri
|
||||
before insert on hrsa_social_archives
|
||||
for each row
|
||||
begin
|
||||
select hrsa_social_archives_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
|
||||
CREATE TABLE hrsa_social_archives_encdata(
|
||||
|
|
@ -1879,21 +1634,6 @@ CREATE TABLE hrsa_tax_declaration_detail(
|
|||
tenant_key varchar2(10) DEFAULT ''
|
||||
)
|
||||
|
||||
/
|
||||
CREATE sequence hrsa_tax_d_d_id
|
||||
start with 1
|
||||
increment by 1
|
||||
nomaxvalue
|
||||
nocycle
|
||||
/
|
||||
create or replace trigger hrsa_tax_d_d_Tri
|
||||
before insert on hrsa_tax_declaration_detail
|
||||
for each row
|
||||
begin
|
||||
select hrsa_tax_d_d_id.nextval into :new.id from dual;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
CREATE TABLE hrsa_tax_rate_base(
|
||||
id NUMBER(38,0) PRIMARY KEY NOT NULL,
|
||||
|
|
|
|||
Loading…
Reference in New Issue