Block new session in a data base

  • I need to block the new starts sessions in a database, but also i want to maintain which are currently running some process. Does anyone how to know that?

    This is to restart the sql server services quietly..

    Thanks

  • Pause SQL server before restarting it. This will block new sessions but will allow the current ones to finish.

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

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