Viewing 15 posts - 2,236 through 2,250 (of 3,008 total)
Some other connection might have the database open in single user mode.
You would have to kill that connection before the database can be set offline.
August 14, 2008 at 4:52 pm
This is really an age old problem with no true solution. People have to be trusted with access to various valuable things, and there are always those that will...
August 14, 2008 at 12:54 pm
I was a manager at a company that was about to have a layoff. Several managers at my peer level were sent an email that had been put together...
August 13, 2008 at 9:23 pm
You can check yourself to see if backups were run. All backups are recorded in the msdb database.
This query will get you started:
select
a.name,
bs.*,
bmf.*
from
master.dbo.sysdatabases a
left outer join
msdb.dbo.backupset as bs (nolock)
on...
August 12, 2008 at 2:54 pm
jim.powers (8/12/2008)
Michael Valentine Jones (8/12/2008)
One might have a downtime window of 0100-0600 on Saturday...
August 12, 2008 at 11:57 am
Sometimes it is necessary to have different servers because they have different maintenance windows for the applications.
One might have a downtime window of 0100-0600 on Saturday and Sunday, and the...
August 12, 2008 at 10:36 am
Abhijit More (8/8/2008)
August 8, 2008 at 1:21 pm
helloanam (8/7/2008)
first date: 01/01/ year
last date: 31/12/ year
therefore, no need to use...
August 8, 2008 at 1:09 pm
You need to have transaction log backups often to control the size of the transaction log, expecially if you are doing large batch operations, like reindexing, index defrag, or big...
August 7, 2008 at 3:59 pm
select
a.MyYear,
FirstDayofYear= dateadd(year,(a.MyYear-1900),0),
LastDayofYear= dateadd(year,(a.MyYear-1899),-1)
from
(
-- Test Data
Select MyYear = 2001union all
Select MyYear = 2002union all
Select MyYear = 2003union all
Select MyYear = 2004union all
Select MyYear = 2005
) a
Results:
MyYear FirstDayofYear ...
August 7, 2008 at 3:54 pm
You should run transaction log backups a lot more often.
I usually set them up to run every 15 minutes, but run them as often as every 5 minutes if there...
August 7, 2008 at 3:14 pm
I ignore all private messages. Not that I get many.
It might be good to have a setting to allow you to turn off private messages, so that people don't...
August 6, 2008 at 1:50 pm
Jeff Moden (8/5/2008)
Michael Valentine Jones (8/5/2008)
August 6, 2008 at 1:37 pm
Jeff Moden (8/1/2008)
DECLARE @sql VARCHAR(MAX)
SELECT @sql = COALESCE(@SQL+CHAR(10)+' UNION ALL --------------------'+CHAR(10),'')
+REPLACE(
' SELECT ''...
August 5, 2008 at 2:03 pm
Viewing 15 posts - 2,236 through 2,250 (of 3,008 total)