Added Sequence update statements which Michael forgot to insert :(
This commit is contained in:
parent
922da589e5
commit
a0559a267b
|
@ -9,4 +9,12 @@ INSERT INTO AD_VAL_RULE (ad_val_rule_id, ad_client_id, ad_org_id, isactive, crea
|
|||
UPDATE AD_COLUMN set ad_val_rule_id = 271 where ad_column_id = 2204;
|
||||
|
||||
|
||||
COMMIT;
|
||||
COMMIT;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_val_rule_id) + 1
|
||||
FROM AD_VAL_RULE
|
||||
WHERE ad_val_rule_id < 1000000)
|
||||
WHERE NAME = 'AD_Val_Rule';
|
||||
|
||||
COMMIT;
|
||||
|
|
|
@ -8,3 +8,11 @@ INSERT INTO AD_REF_LIST
|
|||
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,NULL,NULL,'D');
|
||||
|
||||
COMMIT;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_ref_list_id) + 1
|
||||
FROM AD_REF_LIST
|
||||
WHERE ad_ref_list_id < 1000000)
|
||||
WHERE NAME = 'AD_Ref_List';
|
||||
|
||||
COMMIT;
|
||||
|
|
|
@ -9,4 +9,12 @@ INSERT INTO AD_VAL_RULE (ad_val_rule_id, ad_client_id, ad_org_id, isactive, crea
|
|||
UPDATE AD_COLUMN set ad_val_rule_id = 271 where ad_column_id = 2204;
|
||||
|
||||
|
||||
COMMIT;
|
||||
COMMIT;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_val_rule_id) + 1
|
||||
FROM AD_VAL_RULE
|
||||
WHERE ad_val_rule_id < 1000000)
|
||||
WHERE NAME = 'AD_Val_Rule';
|
||||
|
||||
COMMIT;
|
||||
|
|
|
@ -8,3 +8,11 @@ INSERT INTO AD_REF_LIST
|
|||
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,NULL,NULL,'D');
|
||||
|
||||
COMMIT;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_ref_list_id) + 1
|
||||
FROM AD_REF_LIST
|
||||
WHERE ad_ref_list_id < 1000000)
|
||||
WHERE NAME = 'AD_Ref_List';
|
||||
|
||||
COMMIT;
|
||||
|
|
Loading…
Reference in New Issue