Re: How to disconnect a user from SQL Server 2000
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Mon, 16 Jul 2007 15:40:07 +0300
KFX
If I understood you correctly you need to identify a username connected to
the database and if he/she does not have 'permissions' to be connected you
want to 'kill' them, am I right?
Take a look at select spid,hostname from master..sysprocesses where
dbid=....
"KFX" <KFX@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:503D6AC2-0675-4567-8B1C-792C1030B9EE@xxxxxxxxxxxxxxxx
Hi,
can anyone help me about disconnecting a specific user from SQL Server
2000?
I tried the KILL command but when I re-run the query the spid show ups
again
with the sp_who command (and of course the data reload it at the terminal
PC...). I need to be able to reject a user manually if I decide that it
mustn't be connected to a database.
Thanks...
.
- Prev by Date: Re: AD Security group
- Next by Date: Re: How to disconnect a user from SQL Server 2000
- Previous by thread: Is it possible to read/write a file at privilege?
- Next by thread: Re: How to disconnect a user from SQL Server 2000
- Index(es):
Relevant Pages
|