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
Need Working Driver for SigmaTel IDT High Definition Audio, on a gateway p-6860fx on Win. Xp Professional X64
Report with two different records on same line
IIS 7 Enable Details Error messages remotely
VB.Net - BulkCopy Excel to SQL...works, but funky
SBS 2003 NT Backup SqlServerWriter Error 0x800423f4
Can't connect to SQL server 2008 (error 40 could not open a connection to the SQL Server)
Converting Access queries to T-SQL problems
LDAP/ Active Directory Password Unlock Error..
datagridview VS2008, bold a row
Can SQL query using multiple LIKE joins be improved