What's wrong with this:
DELETE
From ContactPurchases
INNER JOIN OrderDetails
ON ContactPurchases.OrderDetailID=OrderDetails.OrderDetailID
I get this error:
Server: Msg 156, Level 15, State 1, Line 3
Incorrect syntax near the keyword 'INNER'.
But it works find when using it as a SELECT.
thanks,
Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
DELETE
From ContactPurchases
INNER JOIN OrderDetails
ON ContactPurchases.OrderDetailID=OrderDetails.OrderDetailID
I get this error:
Server: Msg 156, Level 15, State 1, Line 3
Incorrect syntax near the keyword 'INNER'.
But it works find when using it as a SELECT.
thanks,
Mark P.
Providing Low Cost Powerful Point of Sale Solutions.