I'm looking for a way to query an existing table that has other valid table names that we are using in it and then compare those tables to the list of tables that actually exist in the db. If there are extras, I want to delete them. I tried to query my table and then delete all extra tables that were in the sysobjects table.
I can't get any code to work right.
I can't get any code to work right.