USE DBName
GO
WHILE ( 1 = 1 )
BEGIN
UPDATE TOP ( 1000 )
dbo.TableName
SET Filter= ''
WHERE Filter IS NULL
IF @@ROWCOUNT < 1000
BREAK
WAITFOR DELAY '00:00:10'
END