Why the seemingly the same request does not work?
WHILE getdate() < FORMAT(GETDATE(), \'yyyy-MM-dd 21:47:00.000\') BEGIN WAITFOR DELAY \'00:00:05.000\'