sp_execute

  • Just wanted to check if sp_Execute opens a connection every time it is executed?

    thanks,

    Medha

    mj

  • You couild test this yourself:

    - Create a job with 3 steps, each step a sp_execute statement, like: select NAME from master.dbo.sysdatabases

    - Define & start a trace in which you check for number of connections with appropriate informational columns & events

    - Run job

    - Check trace output.

    Let us know, I'm curious!

    Greetz,
    Hans Brouwer

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

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