Viewing 15 posts - 241 through 255 (of 1,160 total)
Satish,
You can get that information using Activity Monitor
December 6, 2010 at 7:12 am
That query will list *all* sessions open on a given database. Just tweaked the query. In the output you can filter out the "internal" and "external" sessions based on the...
December 6, 2010 at 6:10 am
Satish,
You should be able to get the requisite information using this query.
SELECT * FROM sys.dm_exec_requests where DB_NAME(database_id)='YourDBName'
December 6, 2010 at 5:54 am
The easiest alternative would be to schedule a Windows Scheduled Task to run a batch file which does
NET STOP SQLSERVERAGENT
NET START SQLSERVERAGENT
December 6, 2010 at 3:05 am
Salman,
There is no Service Pack for SQL Server 2008 R2 yet. CU4 is the latest and you can download it from here
December 6, 2010 at 1:49 am
This article has all the details.
December 6, 2010 at 1:22 am
Ashkan,
Sorry I did not notice the forum under which this question was posted. In SQL Server 2000, this stored procedure does not exist and the only way to recycle the...
December 6, 2010 at 1:03 am
You can make use of sp_cycle_agent_errorlog in SQL Server 2005 and above.
December 5, 2010 at 10:33 pm
In that case, instead of calling WinZip from an UNC path, you can directly refer to the local path as "C:\Program Files\...."
7-zip does not require any command line tool to...
December 5, 2010 at 9:06 pm
I am not too sure if you can call WINZIP.exe from a UNC path. Did you try installing winzip on the computer from which you are executing this comd?
I have...
December 5, 2010 at 8:52 pm
You are getting this error because some sessions are active on that database. Execute this query to find out which are those sessions and KILL them.
SELECT * FROM sys.dm_exec_requests WHERE...
December 5, 2010 at 11:58 am
Unless the names have a pattern it would be difficult to define any logic.
This question should have been posted in the SQL Server 2000 forum here
December 5, 2010 at 10:30 am
Please start SQL Server instance from the command prompt (sqlservr.exe). Wait for a few minutes until the master database is upgraded. Then try connecting to the instance using...
December 3, 2010 at 11:04 pm
December 3, 2010 at 10:23 pm
You can also make use of Change Data Capture in SQL Server 2008.
December 3, 2010 at 12:48 pm
Viewing 15 posts - 241 through 255 (of 1,160 total)