Msg 148, Level 15, State 1, Line 2
Incorrect time syntax in time string ‘%1!’ used with WAITFOR.
This error message appears when an invalid time syntax is encountered in the WAITFOR statement.
The SQL statement cannot be parsed and further execution is stopped.
Error of the Severity Level 15 are generated by the user and can be fixed by the SQL Server user. The invalid time syntax must be corrected.
All versions of SQL Server.
WAITFOR DELAY ‘2 Stunden’;
WAITFOR interrupts the execution either till the specified time or for the specified duration.