Viewing 15 posts - 14,986 through 15,000 (of 22,211 total)
Paul White NZ (5/19/2010)
Grant Fritchey (5/18/2010)
...while the other does a completely useless sort...
That sort on SchID is an optimisation for sequential I/O.
Look at the loop join after the sort operator...
May 19, 2010 at 6:49 am
If you right click on the plan and "Save As" a .sqplan file, you can post this online so that we can see more information. But, you do have an...
May 19, 2010 at 6:23 am
I freely admit I'm not smart enough to always figure out or understand why the optimizer did something. All I can say is what I see. The place where the...
May 19, 2010 at 5:16 am
J-F Bergeron (5/18/2010)
May 18, 2010 at 1:51 pm
The difference I'm seeing is in where the DISTINCT operation is applied. Of those two plans, the faster plan has a HASH aggregate while the other does a completely useless...
May 18, 2010 at 1:47 pm
I wouldn't be surprised if you see an operator in the execution plan called Key Lookup. If it's there, you're looking at an instance of a covering index and a...
May 18, 2010 at 1:09 pm
Pretty much. There may be another way around, but I don't know it.
May 18, 2010 at 11:05 am
Mike nailed it pretty well. I can't add much.
But I'll say this. Imagine a piece of TSQL code that, let's say, inserts data into three tables. You can put a...
May 18, 2010 at 10:43 am
That's a huge topic. I have a chapter in a book I'm writing for Red Gate waiting for tech edits on this exact topic right now.
There are any number...
May 18, 2010 at 8:46 am
Copy the data between the databases using... replication or triggers or whatever. Then you only have to give your users access to the database they're supposed to have.
May 18, 2010 at 8:40 am
Because there is no data in the temp table when it gets created, there are no stats. Without stats, you get an estimate of 1. You can update the stats...
May 18, 2010 at 7:40 am
First, you have define exactly what you mean by auditing. There are different levels of requirements depending on the laws or regulations or business or technical needs that you're attempting...
May 18, 2010 at 7:31 am
You can't view the transaction log file, at all, unless you purchase a third party product specifically made for reading the log.
Why do you need to do this? You should...
May 18, 2010 at 6:38 am
ASsuming I understand what you're asking, you want to have a single query that will hit the appropriate schema depending on the user that is making the request? The only...
May 18, 2010 at 6:34 am
Instead of a group by clause, I'd suggest going with either an ORDER BY and select the TOP 1 value or use the OVER ORDER BY with the ROW_NUMBER in...
May 18, 2010 at 6:16 am
Viewing 15 posts - 14,986 through 15,000 (of 22,211 total)