Re: can i force disconnection from a stored proc ?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Johan Koopmans (koopmans.johan_at_hccnet.nl)
Date: 11/19/04


Date: Fri, 19 Nov 2004 20:39:17 +0100

Yes, it is possible with the Kill Spid command

Execute sp_who to get a report on valid SPID values. Use @@SPID to display
the value for the current session.
This example shows how to terminate SPID 10.

KILL 10

"Hernán Castelo" <bajopalabra@hotmail.com> schreef in bericht
news:OZZ$grmzEHA.2012@TK2MSFTNGP15.phx.gbl...
> inside a stored proc
> that validates the user,
> can i force to disconnect ?
>
> --
> atte,
> Hernán Castelo
> SGA - UTN - FRBA
>
>



Relevant Pages

  • Re: Permissions Identification for Crystal Report Files for Users
    ... If your users have dynamic workplaces with different computers you should ... Of course you need to know the spid of that current user. ... > generate a particular report. ... > stored procedures used for the Crystal Report files and see who can ...
    (microsoft.public.vb.crystal)
  • Re: Permissions Identification for Crystal Report Files for Users
    ... If your users have dynamic workplaces with different computers you should ... Of course you need to know the spid of that current user. ... > generate a particular report. ... > stored procedures used for the Crystal Report files and see who can ...
    (microsoft.public.vb.crystal)