Solved

Delete records based on unmatched records query

Posted on 2012-03-26
2
381 Views
Last Modified: 2012-03-26
I created a unmatched query from two tables. Table A and Table B.  How do I now delete those unmatched records from Table A.
0
Comment
Question by:mato01
2 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 200 total points
ID: 37765556
DELETE *
FROM TableA
WHERE TableA.ID IN (SELECT ID FROM YourUnmatchedQuery)
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37766568
<No Points wanted>
"Typically", ....but not always, you can open a query in design view and simply click one of the "Action Query" buttons to do things like Delete Records, Append Records, Update Records, ...etc

Design-->Query Tools-->Query Type

JeffCoachman
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Getting error in connectionstring with Excel. 30 32
Excel VBA 4 27
MS Access from Delphi 31 29
Problem to file 5 15
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question