GooGoocluster
Technical User
the table I am appending to does not allow duplicates it has a composite key (manifestID,Class,Pieces)
When I run the append query it give me the warning cannot insert duplicate key. I thought that if I clicked ok that it would work like a paste append and append what information it could. but it does not. is there somthing I can do?
When I run the append query it give me the warning cannot insert duplicate key. I thought that if I clicked ok that it would work like a paste append and append what information it could. but it does not. is there somthing I can do?
Code:
INSERT INTO dbo.[New Manifest table]
(ManifestID, Class, Weight, Pieces, Postage)
SELECT ManifestID, Class, Weight, Pieces, Postage
FROM dbo.SLCManifest_Pckgs
ORDER BY ManifestID, Class