use master;gosp_msforeachtable @command1="drop table ?"goselect * from sys.tables where is_ms_shipped=0