Microsoft
Software
Hardware
Network
Question : How purge records from access database
I have a client database that I need to send out a marketing campaign to. I also have a list of email addresses that I DO NOT want to send the campaign to, so I need to purge these from the master list.
So I have two tables set up:
1: The master client database including name, customer number, email address
2: A list of the clients emails that WILL NOT be getting the marketing mail.
I want to just do a simple query to find ALL the records in the master file, that ALSO match up with one of the email addresses in the second table. After I get the results I'll just highlight them and hit the delete key.
Can somebody please help me with this query? Thanks.
Greg
Answer : How purge records from access database
SELECT * FROM mastertablename WHERE email IN (SELECT email FROM secondtablename)
But usually that type of SQL statement times out in MS Access. It is a very expensive query type.
Random Solutions
Language setting in Windows server
HP Pavilion Slimline not powering on
How can I run a stored procedure in ms sql server 2008 from excel 2003 vba
I have 2 ASA5520 x8.0 I want make VPN site to Site but is not work and there are no isakmp sas
How to write stored procudure so it doesn't time out
Plasma vs. LCD
Whats the easiest and hopefully no cost way of accessing a users laptop remotely for technical support.
Printing first page on Microsoft outlook 2007
Win 7 and home network
support sql server 2005 on a mac pro notebook?