IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'CamposRelatorios') AND EXISTS(SELECT 1 FROM [dbo].[CamposRelatorios] WHERE [Relatorio] = 23 AND [IdUsuario] = 0)
BEGIN
	DELETE FROM  [dbo].[CamposRelatorios] WHERE [Relatorio] = 23 AND [IdUsuario] = 0;
END