﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Релиб / SQL Server / Базы данных  / Список открытых подключений. / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Релиб</description><link>http://www.relib.com/forums/</link><webMaster>robot@relib.com</webMaster><lastBuildDate>Sat, 22 Nov 2008 03:23:13 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Список открытых подключений.</title><link>http://www.relib.com/forums/Topic909828-22-1.aspx</link><description>Здравствуйте MFisher, Вы правы, именно это и было нужно. Как выяснилось в SQL Server2k есть еще sp_who2, которая возвращает еще более подробную информацию, но и sp_who для моего случая более чем достаточно.&lt;/P&gt;&lt;P&gt;Спасибо.</description><pubDate>Thu, 22 Feb 2007 09:39:12 GMT</pubDate><dc:creator>slamer</dc:creator></item><item><title>RE: Список открытых подключений.</title><link>http://www.relib.com/forums/Topic909828-22-1.aspx</link><description>[quote][b]Ghost (18.01.2007)[/b][hr]Есть же SQL Server Enterprise Manager&lt;P&gt;Есть SQL Profiler&lt;/P&gt;&lt;P&gt;Ловится - за 3 минуты:&lt;/P&gt;&lt;P&gt;exec dbo.sp_MShasdbaccess&lt;BR&gt;[/quote]&lt;P&gt;Нaскoлькo я пoнял из вoпрoсa sp_MShasdbaccess этo не тo чтo нужнo aвтoру, пoскoльку этa прoцедурa "Lists the name and owner of all the databases to which the user has access", тo есть перечисляет бaзы к кoтoрым юзер имеет дoступ.&lt;P&gt;Я пoлaгaю чтo вoпрoс был o oткрытых сессиях. Есть 2 вaриaнтa решения (SQL 2000):&lt;BR&gt;1. sp_who - этa прoцедурa дaст списoк всех пoдключений кo всем бaзaм нa сервере.&lt;P&gt;2. Сoздaть зaпрoс к тaблице sysprocesses.</description><pubDate>Thu, 18 Jan 2007 16:39:11 GMT</pubDate><dc:creator>MFisher</dc:creator></item><item><title>RE: Список открытых подключений.</title><link>http://www.relib.com/forums/Topic909828-22-1.aspx</link><description>Есть же SQL Server Enterprise Manager&lt;/P&gt;&lt;P&gt;Есть SQL Profiler&lt;/P&gt;&lt;P&gt;Ловится - за 3 минуты:&lt;/P&gt;&lt;P&gt;exec dbo.sp_MShasdbaccess&lt;BR&gt;</description><pubDate>Thu, 18 Jan 2007 13:12:25 GMT</pubDate><dc:creator>Ghost</dc:creator></item><item><title>Список открытых подключений.</title><link>http://www.relib.com/forums/Topic909828-22-1.aspx</link><description>Добрый день.&lt;/P&gt;&lt;P&gt;Подскажите каким образом в T-SQL можно получить список открытых подключений к определенной БД на сервере?&lt;/P&gt;&lt;P&gt;Спасибо!</description><pubDate>Thu, 18 Jan 2007 11:41:57 GMT</pubDate><dc:creator>slamer</dc:creator></item></channel></rss>