I know I'm missing something basic cause I've done this tons of times and must be missing something.
I have deleted archived projects from a table and now want all tasks that no longer have a related record in the projects table to be deleted as well... tried this but am missing something, won't work... says "can't delete from specified table"
DELETE T.*, W.WorkspaceID
FROM dbo_TaskItem AS T LEFT JOIN dbo_Workspace AS W ON T.ParentWorkspaceID = W.WorkspaceID
WHERE (((W.WorkspaceID) Is Null));
What did I miss???
I have deleted archived projects from a table and now want all tasks that no longer have a related record in the projects table to be deleted as well... tried this but am missing something, won't work... says "can't delete from specified table"
DELETE T.*, W.WorkspaceID
FROM dbo_TaskItem AS T LEFT JOIN dbo_Workspace AS W ON T.ParentWorkspaceID = W.WorkspaceID
WHERE (((W.WorkspaceID) Is Null));
What did I miss???