【发布时间】:2009-11-05 16:43:07
【问题描述】:
是否可以运行多个“在后台”运行的存储过程?
存储过程必须从单个主存储过程启动,就像产生多个工作线程一样。例如:
CREATE PROCEDURE MyLauncher
AS
BEGIN
BEGIN
@EXEC MyBackgroundSP01 -- Runs in parallel to the other 2
@EXEC MyBackgroundSP02 -- Runs in parallel to the other 2
@EXEC MyBackgroundSP03 -- Runs in parallel to the other 2
END
END
【问题讨论】:
标签: sql sql-server concurrency background sql-server-express