Added Sequence update statements which Michael forgot to insert :(

This commit is contained in:
deathmeat 2007-04-26 20:58:23 +00:00
parent 922da589e5
commit a0559a267b
4 changed files with 34 additions and 2 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;