October 7, 2003 at 7:51 am
Hi there,
which permisions do I need at least to see the last TSQL command under Current Activity->Process Info?
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 7, 2003 at 7:57 am
You actually call dbcc inputbuffer command to see the last TSQL command.
DBCC INPUTBUFFER permissions default to members of the sysadmin fixed server role only, who can see any SPID. Other users can see any SPID they own. Permissions are not transferable.
October 7, 2003 at 8:01 am
Hi Allen,
quote:
You actually call dbcc inputbuffer command to see the last TSQL command.DBCC INPUTBUFFER permissions default to members of the sysadmin fixed server role only, who can see any SPID. Other users can see any SPID they own. Permissions are not transferable.
thanks!
Unfortunately this is not the answer I wanted to hear as we moved my db's to a central server on which I am no longer sysadmin
I guess there are no workarounds?
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 7, 2003 at 8:07 am
Unfortunately you can see only SPID and last statement with dbcc inputbuffer you own if you are not 'sysadmin'.
October 7, 2003 at 8:15 am
hm...any experience with 'processadmin'?
that little that is in BOL sounds interesting
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 7, 2003 at 8:30 am
I tried, It doesn't have to permissions to see other people's processes. It can be use to kill processes.
October 8, 2003 at 2:22 am
quote:
I tried, It doesn't have to permissions to see other people's processes. It can be use to kill processes.
Thanks again!
Would have been nice
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 8, 2003 at 3:13 am
Btw, I've been added back to sysadmins.
It pays when you keep the network admins who control the server busy with something they can't answer
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply