var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: connections to SQL Server
I need to put a script together that would tell me how many connections to SQL Server there are at any given time. Which table would store this info?
Define what you mean by connections, and which version of SQL Server you are targeting. One simplistic answer for SQL 2000 would be:
SELECT Count(DISTINCT spid)
WHERE 50 < spid
The information from the sp_who/sp_who2 stored procedures might also be useful...