Viewing 15 posts - 181 through 195 (of 388 total)
Never used DTA.
All I have ever done is drop indexes created by users who used the DTA,(both physical and hypothetical indexes en masse)
When looking at results, always always remember the...
December 21, 2015 at 5:02 am
Have a look at the index column order of your nonclustered index. It is redundant since you have a table already sorted on partitionid.
Does your query need to do the...
December 21, 2015 at 3:38 am
Just take note that rollbacks are single threaded.
So an index rebuild may take 1 hour using parallelism, but if you do a rollback, at minute 50, you may be in...
December 18, 2015 at 8:13 am
Find the queries that are doing hash matches and rewrite them.
Has someone done something silly like create a temp table which holds Gigs of data?
Shrinking temp db may only be...
December 18, 2015 at 7:42 am
I would say look out for nulls.
Also, if your result set has millions of rows, do temp tables and forget about table variables.
Stay away from this unless you know you...
December 17, 2015 at 8:45 am
I had a similar issue building DacPacs cos it seems like it does validation on build.
The workaround was to execute sqlpackage using command line as validation default is off with...
December 17, 2015 at 7:37 am
would this work?
CREATE FUNCTION dbo.TVF_CsStatus
...
December 15, 2015 at 10:50 am
Here is a good article by her imminence.
http://sqlinthewild.co.za/index.php/2010/03/23/left-outer-join-vs-not-exists/
I would say that it looks fine to me, but I have had an issue once before where the not exists was running...
December 14, 2015 at 7:28 am
Is there a positive reason why you are using global temp tables?
December 14, 2015 at 7:17 am
Are the columns of the table the correct data type to store the biggest value defined in the business requirements?
You could just select out converted values, leaving the base table...
December 14, 2015 at 5:29 am
ChrisM@Work (12/14/2015)
MadAdmin (12/14/2015)
serg-52 (12/9/2015)
Pivot is just a convenience method to say
I have seen pivot and the Group By create different plans. In one specific case I got the pivot...
December 14, 2015 at 4:31 am
serg-52 (12/9/2015)
select id,title,
ParentIdLevel1 = max(case ParentLevel when 1 then ParentId end),
ParentTitleLevel1 = max(case ParentLevel when 1 then ParentTitle end),
ParentIdLevel2 = max(case ParentLevel...
December 14, 2015 at 2:27 am
55 indexes?
Excuse the french but, gudddddamn!##^#^@^@^@2
Gets my blood boiling.
December 14, 2015 at 2:06 am
Proof is in the pudding always. Try the set based and measure. Then try the rbar and measure. Especially when the advice sounds odd.
December 5, 2015 at 1:33 pm
np. It is very simple but I am very very lazy 🙂
December 3, 2015 at 6:37 am
Viewing 15 posts - 181 through 195 (of 388 total)