I read a few threads regarding this but I am unable to find a solution. I have two tables which I am using a delete query to remove data from. The first table 'SO' is my master table and 'SOupdate' is the table where I have data I want to remove from 'SO'.
My delete query is as follows (SQL view)
DELETE SO.[Security ], SO.Cusip, SO.[Security Description], SO.Holders, SO.Account, SO.[Exempt Code], SO.[Settle Date], SO.[Entry Date], SO.Amount, SO.[Rec ID ], SO.[Stat CD], SO.[Recl Stat], SO.[Div Typ], *
FROM SO INNER JOIN SOupdate ON (SO.Amount = SOupdate.Amount) AND (SO.[Entry Date] = SOupdate.[Entry Date]) AND (SO.[Settle Date] = SOupdate.[Settle Date]) AND (SO.Account = SOupdate.Account) AND (SO.Cusip = SOupdate.Cusip) AND (SO.[Security ] = SOupdate.[Security ]);
When I run it I get the dreaded error in subject. It is interesting as I have never encountered this issue before.
My delete query is as follows (SQL view)
DELETE SO.[Security ], SO.Cusip, SO.[Security Description], SO.Holders, SO.Account, SO.[Exempt Code], SO.[Settle Date], SO.[Entry Date], SO.Amount, SO.[Rec ID ], SO.[Stat CD], SO.[Recl Stat], SO.[Div Typ], *
FROM SO INNER JOIN SOupdate ON (SO.Amount = SOupdate.Amount) AND (SO.[Entry Date] = SOupdate.[Entry Date]) AND (SO.[Settle Date] = SOupdate.[Settle Date]) AND (SO.Account = SOupdate.Account) AND (SO.Cusip = SOupdate.Cusip) AND (SO.[Security ] = SOupdate.[Security ]);
When I run it I get the dreaded error in subject. It is interesting as I have never encountered this issue before.