Fixed some small things Fernando forgot (not a problem at all ;))

This commit is contained in:
deathmeat 2007-05-03 12:07:25 +00:00
parent 89c9a3b456
commit e9e692e346
2 changed files with 22 additions and 0 deletions

View File

@ -1,6 +1,8 @@
--Enable Brazil in country Table
UPDATE c_country SET hasregion = 'Y' WHERE c_country_id = 139;
COMMIT;
--Add Brazilian States
INSERT INTO c_region VALUES (441, 0, 0, 'Y', TO_DATE ('2007-04-30 16:40:42', 'YYYY-MM-DD HH24:MI:SS'), 0, TO_DATE ('2007-04-30 16:40:42', 'YYYY-MM-DD HH24:MI:SS'), 0, 'AC', 'Acre', 139, 'N');
INSERT INTO c_region VALUES (442, 0, 0, 'Y', TO_DATE ('2007-04-30 16:40:57', 'YYYY-MM-DD HH24:MI:SS'), 0, TO_DATE ('2007-04-30 16:40:57', 'YYYY-MM-DD HH24:MI:SS'), 0, 'AL', 'Alagoas', 139, 'N');
@ -30,3 +32,12 @@ INSERT INTO c_region VALUES (465, 0, 0, 'Y', TO_DATE ('2007-04-30 16:45:40', 'YY
INSERT INTO c_region VALUES (466, 0, 0, 'Y', TO_DATE ('2007-04-30 16:45:53', 'YYYY-MM-DD HH24:MI:SS'), 0, TO_DATE ('2007-04-30 16:45:53', 'YYYY-MM-DD HH24:MI:SS'), 0, 'SE', 'Sergipe', 139, 'N');
INSERT INTO c_region VALUES (467, 0, 0, 'Y', TO_DATE ('2007-04-30 16:46:03', 'YYYY-MM-DD HH24:MI:SS'), 0, TO_DATE ('2007-04-30 16:46:03', 'YYYY-MM-DD HH24:MI:SS'), 0, 'TO', 'Tocantins', 139, 'N');
COMMIT;
UPDATE AD_SEQUENCE
SET currentnextsys = (SELECT MAX (c_region_id) + 1
FROM C_REGION
WHERE c_region_id < 1000000)
WHERE NAME = 'C_Region';
COMMIT;

View File

@ -1,6 +1,8 @@
--Enable Brazil in country Table
UPDATE c_country SET hasregion = 'Y' WHERE c_country_id = 139;
COMMIT;
--Add Brazilian States
INSERT INTO c_region VALUES (441, 0, 0, 'Y', '2007-04-30 16:40:42', 0, '2007-04-30 16:40:42', 0, 'AC', 'Acre', 139, 'N');
INSERT INTO c_region VALUES (442, 0, 0, 'Y', '2007-04-30 16:40:57', 0, '2007-04-30 16:40:57', 0, 'AL', 'Alagoas', 139, 'N');
@ -30,3 +32,12 @@ INSERT INTO c_region VALUES (465, 0, 0, 'Y', '2007-04-30 16:45:40', 0, '2007-04-
INSERT INTO c_region VALUES (466, 0, 0, 'Y', '2007-04-30 16:45:53', 0, '2007-04-30 16:45:53', 0, 'SE', 'Sergipe', 139, 'N');
INSERT INTO c_region VALUES (467, 0, 0, 'Y', '2007-04-30 16:46:03', 0, '2007-04-30 16:46:03', 0, 'TO', 'Tocantins', 139, 'N');
COMMIT;
UPDATE AD_SEQUENCE
SET currentnextsys = (SELECT MAX (c_region_id) + 1
FROM C_REGION
WHERE c_region_id < 1000000)
WHERE NAME = 'C_Region';
COMMIT;