IF EXISTS(SELECT 1 FROM [dbo].[documento] WHERE apoconferida is null)
BEGIN
	UPDATE [dbo].[documento] SET apoconferida=0 WHERE apoconferida is null;
END