if exists(select count(*) from sysobjects where id = object_id(N'Cloud_CanAdd') and OBJECTPROPERTY(id, N'IsUserTable') = 1) BEGIN delete Cloud_DownLoad where Music_Id is null delete Cloud_ServerImport where Import_MId is null END