Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
需要在查询之间将时间间隔设置为 5 秒。要知道表处于更新状态,尝试以 5 秒的间隔两次获取行数。如何在查询之间设置时间间隔?
不太了解您的所有问题文本,但是
WAITFOR DELAY '00:00:05'
会给你5秒的延迟