very strange: run sp vs run t-sqls in sp one by one

  • I had a SP having many t-sqls.In the sp, there were 2 temp tables to update,insert.

    And the sp was always hold on one update t-sql.It need 2 or 3 hours to complete the t-sql.

    And I run t-sqls in the sp one by one, it was very fast.

    C.G

  • You'll have to provide more information for us to understand, and perhaps ask a question.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply