I need to have a SQL stmt wherein if a Publisher Record is Deleted then all related Title Records( holding the Publisher FK) are also Deleted . In MS SQL 7.0 I used to have a stored proc which simply consisted of 2 seperate DELETE SQL stmts. Now Im using Access and Iv tried the following...none work
1.DELETE FROM Publisher WHERE Publisher.PID='123'
DELETE FROM Titles WHERE Titles.PID='123'
2. DELETE FROM Publisher,Titles WHERE Publisher.PID='123' and Titles.PID='123'
3. DELETE FROM Publisher,Titles WHERE Publisher.PID=Titles.PID and Publisher.PID='123'
