Solved

Delete records based on unmatched records query

Posted on 2012-03-26
2
377 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now