Viewing 15 posts - 3,871 through 3,885 (of 7,614 total)
1) Get a good book on SQL Server Administration. I've found that those including Brian Knight or Kalen Delaney are reliable. If you read it and study it, the book...
March 30, 2017 at 10:27 am
MAX(ds.ItemNumber) AS Equality#
FROM #index_missing
CROSS...
March 30, 2017 at 8:17 am
A few critical tables would be a good start, particularly large child tables that are currently clustered on an identity column.
Edit: Be sure to include any "missing index"...
March 29, 2017 at 4:27 pm
March 29, 2017 at 2:05 pm
March 29, 2017 at 1:43 pm
DECLARE @Begin_Period int;
DECLARE @Last_Period int;
SET @Begin_Period = 201712;
SET @Last_Period = CASE WHEN @Begin_Period % 100 < 12 THEN @Begin_Period + 1 ELSE @Begin_Period...
March 29, 2017 at 11:47 am
March 29, 2017 at 11:40 am
March 29, 2017 at 10:13 am
The code below will produce two result sets. The first is missing index stats/info. The second is existing index stats/info. We combine the two -- and often other needed...
March 29, 2017 at 10:11 am
March 29, 2017 at 8:05 am
March 28, 2017 at 3:22 pm
Another option could be to use a static view that is dynamically generated for the formulas. When a formula(s) change, the view is regenerated. Just an idea.
March 28, 2017 at 3:12 pm
The first focus should be on getting the best clustered index on all (significant) tables. That is the single most critical performance factor for most tables. Hint: This is most...
March 28, 2017 at 3:10 pm
Looks rather straightforward, since the detail table already contains the Position the person was in on that given day.
If you could post useable sample data -- CREATE TABLE...
March 28, 2017 at 1:44 pm
The trigger would still fire, but you could have it immediately exit. The easiest way is likely using CONTEXT_INFO. Have the app set the first two bytes of it to...
March 28, 2017 at 12:31 pm
Viewing 15 posts - 3,871 through 3,885 (of 7,614 total)