Home Forums SQL Server 2017 SQL Server 2017 - Development I need a broken 10 second SQL Script RE: I need a broken 10 second SQL Script
krypto69
SSChampion
Points: 13591
More actions
January 24, 2018 at 7:26 am
#1977103
GilaMonster - Wednesday, January 24, 2018 7:12 AMWAITFOR 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.
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.
Ahh..thanks Gail