10-21-2016 5:44 PM - edited 01-21-2024 10:20 PM
Is it possible to pass to Native SQL the host variable containing list of values to be used in:
DELETE FROM tablename WHERE field IN(:hostvariable)
resulting in:
DELETE FROM tablename WHERE field IN('2015.02','2015.03','2015.04')
My external server is MS SQL server
I know about other ways to achieve the goal...
- Loop DELETE
- Run stored procedure
- Use dynamic ADBC
12-02-2016 6:27 PM
12-02-2016 6:27 PM