Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBCC USEROPTIONS (for another connection) 1

Status
Not open for further replies.

Lekar

Programmer
Sep 7, 2001
85
0
0
CR
Hi

I want to check out the options for any connection.
I've used DBCC USEROPTIONS, however this command only applies to the current conection.

When I run sp_Who I see some spids and I want to know the options of the conection of the spid x.

Can I do that?

[bomb]
 
Have a look at:


Code:
DBCC PSS

This command shows info about processes currently connected to the server.

Syntax:

DBCC pss(suid, spid, printopt = { 1 | 0 }) 

where: 

suid - server user ID 

spid - server process ID 

printopt - print option (0 standard output, 1 all open DES's and current sequence tree)

This is an example:

DBCC TRACEON (3604)
DBCC pss
 
Thanks Jamfool:
The DBCC pss statement displays the isolation_level of any connection with the values 1 to 4 identifying the READ COMMITTED, READ UNCOMMITTED, REPEATABLE READ, SERIALIZABLE.

[bomb]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top