Viewing 15 posts - 1,261 through 1,275 (of 3,011 total)
This should get you started.
declare @sql varchar(max)
select @sql =
'
declare @t table ([objectname]NVARCHAR(1000), seq int not null identity(1,1) primary key clustered )
'
select
'
insert into @t ( [objectname] )
select...
September 1, 2010 at 2:11 pm
RonKyle (8/31/2010)
AK_table_name__column_list for unique contraints
What does AK stand for? Otherwise you and I create the names the same way.
AK = Alternate Key
August 31, 2010 at 8:41 am
When the primary key is clustered, table scans are actually scans of the primary key leaf level. It is still a table scan.
August 30, 2010 at 9:38 am
I agree that it is better to create you own names, instead of letting the system generate them. In addition to the problem with database compare, there is also...
August 30, 2010 at 8:37 am
You should be able to find that information in the default trace.
Check SQL Server 2005 Books Online for information on the default trace.
August 27, 2010 at 9:45 am
If you are really valuable to the organization, you should make a point of taking a long vacation every year so that people have to get along without you.
"Iām off...
August 26, 2010 at 8:55 am
The cost and benefit of an index is extremely hard to calculate.
Assuming all resources have a cost, adding an index will consume more disk space($) but can reduce disk IO($),...
August 26, 2010 at 8:27 am
It is usually much faster (least downtime) to do it this way:
Make a backup of the source database while the source system is still live.
Restore to the target system with...
August 25, 2010 at 11:59 am
Process is good as long as it is designed to help get things done, as opposed to being designed to keep things from getting done.
August 24, 2010 at 1:35 pm
...If, at 9am, the system time was set back an hour, the user would be polling for new events that are now being logged at 8am...
The system time should not...
August 24, 2010 at 10:30 am
That is actually an ordinal date.
http://en.wikipedia.org/wiki/Julian_Day
"The Julian day or Julian day number (JDN) is the number of days that have elapsed since 12 noon Greenwich Mean Time (UT or TT)...
August 20, 2010 at 9:12 pm
As long as it didn't happen too long ago, you should be able to find that information in the default trace.
Check SQL Server 2005 Books Online for info on the...
August 20, 2010 at 7:58 am
Plenty of good scripts on the link below, especially the ones where Author = Michael Valentine Jones š
Script Library
August 18, 2010 at 12:42 pm
Get Server Database File Information
August 18, 2010 at 10:04 am
When your application allocates temp tables at a extremely high rate having more data files in tempdb can help.
There are internal data structures in tempdb data files that can become...
August 17, 2010 at 3:53 pm
Viewing 15 posts - 1,261 through 1,275 (of 3,011 total)