Openrowset and sp_who2

added by jacobsebastian
1/1/2011 12:14:31 PM

1 Kicks, 132 Views

OPENROWSET function can be used to query on the database exists in different server or query on the stored procedure. Consider that the system procedure sp_who2 gives informations about the current users, sessions, etc. EXEC sp_who2 But note that the...