I am using python 2.7 to perform CRUD operations on a MS SQL 2012 DB.
I have a list of IDs called "ComputerIDs".
I want to run a query that deletes all records in the database where the ID is equal to one of the IDs in the list.
I have tried the following but it does not seem to work.
cursor.executemany("DELETE FROM Computer WHERE ID=%s", ComputerIDs)