IBEX
  • Home
  • Tech Department
  • Software Developers
  • Electronic Designers
  • Product Design
☰
  • Home
  • Tech Department
  • Software Developers
  • Electronic Designers
  • Product Design
  • Web & Cloud Development
  • AI Integration
  • Mobile App Development
  • FAQ
  • About Us
  • Contact Us
  • Portfolio
  • Resources
  • Under the Hood
  • News

Cloud Development

Our resources for other developers, designers and engineers.

Cloud Development

WAITFOR

/SQL Server (Microsoft) / Queries / Statements General / WAITFOR

Use to block execution. While executing a WAITFOR statement the transaction is running and no other requests can run under the same transaction. Bear in mind that if the server is busy the thread may not be immediately scheduled.


----Delay for 20 seconds
WAITFOR DELAY '000:00:20'
SELECT '20 Second Delay'
GO
----Delay till 7 AM
WAITFOR TIME '7:00:00'
SELECT 'Good Morning'
GO

Resources:

http://blog.sqlauthority.com/2007/06/18/sql-server-delay-function-waitfor-clause-delay-execution-of-commands/


open all | close all

❯ Other IBEX Resources

Home | Terms & Conditions | Privacy Policy
© Copyright IBEX Technology Ltd. All rights reserved. IBEX is a registered trademark of IBEX Technology Ltd.
Footer Logo