Viewing 15 posts - 19,411 through 19,425 (of 59,072 total)
Another trick to help the deletes along is to ensure that the deletes are done in the same order as the clustered index.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 17, 2015 at 12:53 pm
You don't need a CASE statement for this. Post the code you used to generate the dates/times and we'll show you.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 16, 2015 at 6:12 pm
It's going to vary based on the number of indexes, foreign keys, adjacency of rows, etc. The old method of try 10K, 50K, then 100K is probably the best...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 16, 2015 at 6:04 pm
Eric M Russell (10/16/2015)
Jeff Moden (10/15/2015)
Eric M Russell (10/15/2015)
Create indexes on the NEW tables. Remember to create clustered indexes before non-clustered indexes.
As with a clustered index rebuild, the HEAP...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 16, 2015 at 3:45 pm
_watching (10/16/2015)
Did you read Matt Miller's comment a few posts above? Try making the query SARGable, re test and post the results.
With all due respect, anyone is just as capable...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 16, 2015 at 3:35 pm
ChrisM@Work (10/16/2015)
Jeff Moden (10/15/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 16, 2015 at 3:32 pm
Hi Brandie,
How did this all work out for you?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 16, 2015 at 12:22 pm
To be honest, I trust no one that uses pure RBAR to create test data nor do I trust fixed width/grooved test data where the data is usually variable in...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2015 at 7:10 pm
jghali (10/15/2015)
The person that is always logged is the operator (a windows user which is already logged in), part of the Operators (windows group).
We don't have their login or...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2015 at 6:18 pm
Luis Cazares (10/15/2015)
Phil Parkin (10/15/2015)
Luis Cazares (10/15/2015)
You can use either the SQL Server Express Edition which is free. It has several limitations, but for simple use, it should be fine.
Where...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2015 at 2:30 pm
Eric M Russell (10/15/2015)
Create indexes on the NEW tables. Remember to create clustered indexes before non-clustered indexes.
As with a clustered index rebuild, the HEAP will be preserved until the...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2015 at 2:25 pm
Michael L John (10/15/2015)
If an index is taking up 10 GB,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2015 at 2:22 pm
Why do you feel it necessary to change ownership in a proc to run DBCC CHECKDB? It shouldn't be executed by users.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2015 at 2:13 pm
mw112009 (10/15/2015)
DECLARE @RangeDivisor FLOAT
SET @RangeDivisor = 1609.344;
DECLARE @MyLatitude NUMERIC(9, 6), @MyLongitude NUMERIC(9, 6)
Set @MyLatitude = 42.430883;
Set @MyLongitude =...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2015 at 2:08 pm
There are a whole bunch of unknowns here.
First, are there any clear text SSNs/TaxIDs or other personally identifiable information (PII) in the database that needs to be obfuscated? Of...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2015 at 10:53 am
Viewing 15 posts - 19,411 through 19,425 (of 59,072 total)