var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Do you know the query in TSQL to find out the port number in which SQL server is running?
I think you'll have to resort to reading from the registry, here's a snippet I discovered.
DECLARE @tcp_port nvarchar(5)
@rootkey = ‘HKEY_LOCAL_MACHINE’,
@key = ‘SOFTWARE\MICROSOFT\MSSQLSERVER\MSSQLSERVER\SUPERSOCKETNETLIB\TCP’,
@value_name = ‘TcpPort’,
@value = @tcp_port OUTPUT