IF EXISTS(SELECT 1 FROM [dbo].[controledbad] WHERE [tabela] IS NULL) BEGIN UPDATE [controledbad] SET [tabela] = N'arquivodigital' WHERE [tabela] IS NULL; END