C#學習網誌

GooglePrettify

2019年12月5日 星期四

Sleep Command in T-SQL?

look at the WAITFOR command
Eg.
-- wait for 1 minute
WAITFOR DELAY '00:01'

-- wait for 1 second
WAITFOR DELAY '00:00:01'
This command allows you a high degree of precision but is only accurate within 10ms - 16ms on a typical machine as it relies on GetTickCount. So, for example, the call WAITFOR DELAY '00:00:00:001' is likely to result in no wait at all.

from : https://stackoverflow.com/questions/664902/sleep-command-in-t-sql
張貼者: Ryoko 於 晚上7:48 沒有留言:
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
較新的文章 較舊的文章 首頁
查看行動版
訂閱: 文章 (Atom)

關於我自己

Ryoko
檢視我的完整簡介

網誌存檔

  • ▼  2019 (37)
    • ▼  12月 (1)
      • Sleep Command in T-SQL?
    • ►  11月 (1)
    • ►  10月 (4)
    • ►  9月 (1)
    • ►  8月 (2)
    • ►  7月 (12)
    • ►  6月 (6)
    • ►  5月 (4)
    • ►  4月 (1)
    • ►  2月 (5)
  • ►  2018 (25)
    • ►  12月 (3)
    • ►  8月 (2)
    • ►  7月 (1)
    • ►  6月 (3)
    • ►  5月 (4)
    • ►  4月 (6)
    • ►  3月 (3)
    • ►  1月 (3)
  • ►  2017 (52)
    • ►  12月 (2)
    • ►  11月 (6)
    • ►  9月 (1)
    • ►  6月 (2)
    • ►  5月 (2)
    • ►  4月 (4)
    • ►  3月 (20)
    • ►  2月 (14)
    • ►  1月 (1)
頂尖企業主題. 技術提供:Blogger.