Run a SQL Server procedure from Excel

前端 未结 2 1215
我在风中等你
我在风中等你 2021-01-14 02:03

I\'m using SQL Server 2008 Enterprise. I created a procedure in one database. The procedure is composed of several queries to different databases and the final combined resu

2条回答
  •  心在旅途
    2021-01-14 02:54

    I transformed the procedure to have Table Variables instead of Temporary tables and I've added "set nocount on" to the beginning of the procedure.

    The second action solved the issue.

    The first action improved the response time of the procedure.

提交回复
热议问题