Microsoft
Software
Hardware
Network
Question : Access 2003 SQL Question
Hi, I am still learning Access/SQL and I am trying to format an SQL statement so it does the following and can not get it using the designer. Can someone help? I want to:
read all of table1 and check it against table2 and for every match of a field called deliv_num in both tables, I want to delete the record from table2.
Thanks,
Charlie
Answer : Access 2003 SQL Question
Hi cafulford,
Try this:
DELETE * FROM table2 WHERE table1.deliv_num = table2.deliv_num
(If you copy this into the SQL view of your query then select designer view, you should be able to see how to do it in the designer.)
Random Solutions
Mailbox unavailable. The server response was: 5.7.1 Unable to relay
error saying 'External table is not in the expected format.' when trying to update database from a dataset
Sorting by Activity Date in Ascending Order
Importing mmf file into Outlook
Date Comparison in MSSQL
Recommends for remote control of PC?
Forcing datasheet column headings onto 2 lines
Advanced Filter Macro problems
Viewing "Attibute Editor" in ADUC.
USB Keyboard and mouse works in BIOS but not in Windows