This question already has an answer here:
- How to delete all tables with prefix “bkp” from a given database? 1 answer
I am trying to drop tables from each server/DB.
I ran the query to get the list of the tables in each database from different server.
SELECT *
FROM sys.objects
WHERE type = 'u' AND name LIKE '%JSK%'
I want to drop those tables.
I need query how to do it?