How do I insert data from one table to another?

KjWhal

Registered User.
Local time
Today, 14:22
Joined
Jan 5, 2007
Messages
60
I want to set my insert such that

Insert into tableA (x,y,z) = (SELECT x,y,z FROM tableB)
WHERE NOT EXISTS (select x,y FROM tableA,tableB WHERE tableA.x = tableB.x AND tableA.y = tableB.y)

Basically I want to insert data in tableA from tableB if it does not exist in tableA yet.

Access says I'm not writing an updateable query.
 

Users who are viewing this thread

Back
Top Bottom