RS First Dynamics NAV Blog


...from NAV 3.60 to NAV 2013
Home Blogs | Home | Login | Contact | My Profile | RSS | About | Cerca

Kill Sql idle session

Ever wanted to get rid of users who are sitting idle for long periods of time? Here's a script that removes spids idle for a variable period of time. if object_Id( 'dbspKillIdleSpids') Is Not Null drop procedure dbspKillIdleSpidsgo CREATE procedure dbspKillIdleSpids @sec int = Nullas/**************************************************************Name: dbspKillIdleSpidsDescription: kills connections that have beeninactive for @sec seconds. Usage: exec dbspKillIdleSpids <sec>  
Leggi tutto il post...
Categoria: Sql Server ALL
giovedì, 04 feb 2010 Ore. 15.08

Scrivi un commento


Non è possibile inviare commenti a questo Blog

Commenti

Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003