The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Greetings again,
I want to delete some records such as:
DELETE FROM TABLE WHERE ID IN (<..various ids>)
So far so good, however, I want to combine where clause to soem other condition on other table...
like DELETE FROM TABLE t1 WHERE t1.ID IN (<..various ids..>) AND t1.DATE < (SELECT t2.ZDATE FROM ANOTHERTABLE t2 WHERE t2.ID = t1.USER )
Will that work? (Don't want to delete any other records on other table)
I want to delete some records such as:
DELETE FROM TABLE WHERE ID IN (<..various ids>)
So far so good, however, I want to combine where clause to soem other condition on other table...
like DELETE FROM TABLE t1 WHERE t1.ID IN (<..various ids..>) AND t1.DATE < (SELECT t2.ZDATE FROM ANOTHERTABLE t2 WHERE t2.ID = t1.USER )
Will that work? (Don't want to delete any other records on other table)