Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
How would I write a delete statement that would delete the same rows that are being returned by this select statement?SELECT *FROM Task LEFT JOIN Incident ON Task.ParentLink_RecID = Incident.RecIdWHERE (((Incident.RecId) Is Null));I know that you can't use a join in a delete statement but I'm not quite sure how to write it.Can anyone please help me out?Thanks!