SQL Server (TSQL) - Is it possible to EXEC statements in parallel?

前端 未结 6 1527
自闭症患者
自闭症患者 2020-11-29 09:40

SQL Server 2008 R2

Here is a simplified example:

EXECUTE sp_executesql N\'PRINT \'\'1st \'\' + convert(varchar, getdate(), 126) WAITFOR DELAY \'\'000         


        
6条回答
  •  独厮守ぢ
    2020-11-29 10:08

    It might be worth to check out the article Asynchronous T-SQL Execution Without Service Broker.

提交回复
热议问题