Viewing 15 posts - 20,551 through 20,565 (of 22,202 total)
You know if you're getting different plans and different performance, you might have instances where one piece of data generates a plan that it can use and a seperate set...
April 25, 2008 at 8:53 am
I think I'm losing track of the thread. Where are you with this? Have you tried changing the indexes in any of the ways that have been proposed? Have any...
April 25, 2008 at 8:33 am
This is great! What a lot of fun, and really good information. I do like the DBA in traditional DBA garb doing the performance dance.
April 25, 2008 at 6:51 am
Agreed on using JOIN statements instead of IN statements.
Do you really need the DISTINCT? That's usually added when the data is bad, the structure is bad, or the where clauses...
April 25, 2008 at 6:34 am
Unless they're they're the only things in the field, then you could get away with:
SELECT...
FROM...
WHERE MyField = 'Project Managers Book'
OR MyField = 'The Project Book'
...
April 25, 2008 at 6:01 am
There was a time when I was recommending using this code to eliminate dynamic SQL and still have a multi-valued search query:
SELECT....
FROM....
WHERE...
AND CASE WHEN @LocationTypeId...
April 25, 2008 at 5:58 am
For literally the same index, COLA, COLB and COLA, COLB, no, I can't support that. I'd even say that's unsupportable if the first one was clustered and the second one...
April 25, 2008 at 5:47 am
Have you looked at the execution plans for the those specific queries? Scans, hash joins, cursors, anything like that in evidence?
April 25, 2008 at 5:39 am
{click-whoosh}{click-whossh} I am the master now, Andy {click-whoosh}
Anyway, I finished running the simple tests. Here's a question given the following table & query, what might happen?
CREATE TABLE [dbo].[users](
[LogonID] [nvarchar](20) NOT...
April 24, 2008 at 1:16 pm
Funny you should say that. I'm stepping through writing up samples in C# using nHibernate as I type this (well, right after I type this and right before). So far,...
April 24, 2008 at 11:47 am
Yep. You're in trouble now. I still haven't been able to get it fixed. A friend ripped out everything, including all references in the registry, and reinstalled 2005. He's running...
April 24, 2008 at 11:08 am
Oh, then it's not a covering index. Try adding the date column. It will be then.
April 24, 2008 at 11:05 am
I'm not sure if means anything in relation to LINQ and the other ORM products, but I've seen systems where the developers used ADO to automagically access the database. Small...
April 24, 2008 at 10:45 am
That's a pretty common PSS tactic. Until you're running the set of patches that they want to test against, they generally won't support you. Oh well, I've exhausted my feeble...
April 24, 2008 at 9:41 am
Viewing 15 posts - 20,551 through 20,565 (of 22,202 total)