Report question

Question: SQL Server: Endless WHILE EXISTS loop