Link to home
Start Free TrialLog in
Avatar of brettanderson77
brettanderson77Flag for Australia

asked on

ACESS SQL Deleting from a table where values exist in another table

Hi,

I need to delete all from table A where attribute X exists in both table A & table B.

Hope you can help.

Cheers,
Brett
SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brettanderson77

ASKER

THANKS guys, I know you were first Angel but I prefer the simplicity of the second answer :-)
note that the EXISTS() method is usually more performant...
anyhow, glad we could help