Viewing 15 posts - 2,536 through 2,550 (of 2,645 total)
So the whole article is basically saying adding an index can assist in the performance of queries containing ORDER BY.
September 15, 2010 at 2:36 am
There is a rating on each article, this one has 2 stars, something that should be an indication to you.
August 24, 2010 at 6:50 am
I've changed the ORDER BY on one of the statements and it seems to have fixed it:
IF NOT EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.SCHEMATA
WHERE SCHEMA_NAME = 'utils'
AND SCHEMA_OWNER = 'dbo')
BEGIN
...
August 23, 2010 at 2:46 pm
Shamshad Ali (8/23/2010)
The script you make with efforts are highly appreciated, but the latest script I checked for my case is not perfect and have bugs. All, always verify...
August 23, 2010 at 4:31 am
Nice article with gentle introduction. thanks.
July 5, 2010 at 6:36 am
janyalee (6/21/2010)
Hello Jonathan, I appreciated this article. It got me wondering, what signing with a certificate gets us that SP WITH...
June 21, 2010 at 6:03 pm
UMG Developer (6/21/2010)
June 21, 2010 at 5:41 pm
ChiragNS (6/21/2010)
June 21, 2010 at 9:32 am
Adam Gojdas (5/25/2010)
May 25, 2010 at 3:50 pm
James Dingle-651585 (5/24/2010)
May 24, 2010 at 7:37 am
James Dingle-651585 (5/24/2010)
Quick remarks:
- There is a clustered index scan on the ID. Obviously, this way it won't work. The snippet of code I've wrote was assuming...
May 24, 2010 at 4:26 am
And just one more before anyone else suggests it:
-- Query 10
SELECT *
FROM [Product]
WHERE NOT([Name] <> @Name AND @Name IS NOT NULL)
the where clause above is actually...
May 23, 2010 at 6:15 pm
James Dingle,
In fact your query preforms nearly twice as badly as the original non-dynamic SQL that would have been in the initial stored procedure.
See SQL and execution plan below.
DECLARE @Name...
May 23, 2010 at 4:02 pm
James Dingle,
I've tried your style of query to obtain the execution plan and it is the worst performing out of all the attempts so far.
Please find details below. I created...
May 23, 2010 at 2:09 pm
I thought I'd better put some tests in after all the discussion.
Create some test data:
IF OBJECT_ID('Product','U') IS NOT NULL
DROP TABLE [Product]
IF OBJECT_ID('Colors','U') IS NOT NULL
...
May 21, 2010 at 10:46 pm
Viewing 15 posts - 2,536 through 2,550 (of 2,645 total)