Viewing 15 posts - 2,236 through 2,250 (of 3,011 total)
There are a small number of expert database designers who are capable of understanding the significant disadvantages and trade-offs of a denormalized design and using it in selected cases where...
August 15, 2008 at 2:56 pm
You can use this script with any version of SQL from 7.0 up.
Script to analyze table space usage
August 15, 2008 at 1:23 pm
Most of the applications that I see that make heavy use of cursors were either ported from Oracle to SQL Server or created by developers who only had Oracle experience.
We...
August 15, 2008 at 8:31 am
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
Viewing 15 posts - 2,236 through 2,250 (of 3,011 total)