WAITFOR DELAY '00:00:10';
SELECT 1/0;
Yours fails instantly because the last query throws a parsing error, and the batch is parsed before any part of it starts executing.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability