M
Mitchell_Collen via AccessMonster.com
How do you create query that can be used to append data that has no unique
identifier? I am afraid that if I append data twice on accident it will cause
duplicate data in the table. I tried selecting distinct but it doesn't work
and creating an auto number primary key will only generate an new number for
identical data. What should I do?
Thanks in advance! -Misty
INSERT INTO CURRENTINVOICES ( AH_ID, IV_BO, IV_PRICE, IV_DATE, IV_QTY, IV_SHP
)
SELECT INVOICES.AH_ID, INVOICES.IV_BO, INVOICES.IV_PRICE, INVOICES.IV_DATE,
INVOICES.IV_QTY, INVOICES.IV_SHP
FROM INVOICES;
identifier? I am afraid that if I append data twice on accident it will cause
duplicate data in the table. I tried selecting distinct but it doesn't work
and creating an auto number primary key will only generate an new number for
identical data. What should I do?
Thanks in advance! -Misty
INSERT INTO CURRENTINVOICES ( AH_ID, IV_BO, IV_PRICE, IV_DATE, IV_QTY, IV_SHP
)
SELECT INVOICES.AH_ID, INVOICES.IV_BO, INVOICES.IV_PRICE, INVOICES.IV_DATE,
INVOICES.IV_QTY, INVOICES.IV_SHP
FROM INVOICES;