Both: Fixed WRONG ad_ref_list_id

PostgreSQL: Fixed empty string for timestamp columns to NULL
This commit is contained in:
deathmeat 2007-04-26 20:48:23 +00:00
parent 247e959871
commit 922da589e5
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
INSERT INTO AD_REF_LIST
(ad_ref_list_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby,
value, name, description, ad_reference_id, validfrom, validto, entitytype )
VALUES (1000015, 0, 0, 'Y', TO_DATE('2007-04-26','YYYY-MM-DD'),100, TO_DATE('2007-04-26','YYYY-MM-DD'), 100,
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,'','','D');
VALUES (50042, 0, 0, 'Y', TO_DATE('2007-04-26','YYYY-MM-DD'),100, TO_DATE('2007-04-26','YYYY-MM-DD'), 100,
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,NULL,NULL,'D');
COMMIT;

View File

@ -4,7 +4,7 @@
INSERT INTO AD_REF_LIST
(ad_ref_list_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby,
value, name, description, ad_reference_id, validfrom, validto, entitytype )
VALUES (1000015, 0, 0, 'Y', TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'),100, TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,'','','D');
VALUES (50042, 0, 0, 'Y', TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'),100, TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,NULL,NULL,'D');
COMMIT;