Solved

Checking 2 tables for duplicate entries

Posted on 2011-02-19
2
376 Views
Last Modified: 2013-11-05
Hello folks,

I have two tables in an Access database. Now 1 of these tables (new_table) I would like to compare with the other (old_table) to find out what has changed since the last update.. Both tables has a field called SubCategory3.

I would like to query both tables on category 3 to see what has changed in the new_table because at the moment new_table.subcategory3 contains 600 records and old_table.subcategory3 contains 559 records.
I'm using the following query but think I'm on the wrong track as i'm getting all the identical records from both tables but not the records that have changed  :D.
SELECT DISTINCT Table_01.SUBCATEGORY3, Table_011_Old.SUBCATEGORY3
FROM Table_01 INNER JOIN Table_011_Old ON Table_01.SUBCATEGORY3 = Table_011_Old.SUBCATEGORY3;

Open in new window

0
Comment
Question by:greeneel
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 400 total points
ID: 34936062
Use the Unmatched Query Wizard  to do this.
use the new_  table as the first table in wizard.
0
 
LVL 9

Assisted Solution

by:borki
borki earned 100 total points
ID: 34936732
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

706 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

18 Experts available now in Live!

Get 1:1 Help Now