Viewing 15 posts - 2,506 through 2,520 (of 2,610 total)
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
chris.shaw (5/21/2010)
I must say that I found your article to have some really good information in it. I guess there was only a couple comments to it...
May 21, 2010 at 5:31 am
Gursoy Yerli (5/11/2010)
Your generation sproc was ignoring the schema when using "EXEC sp_helptext @ProcedureName". Added below to fix the issue.
...
May 11, 2010 at 10:38 am
You can't update two tables in one SQL statement but you can wrap them in an transaction so from the outside it looks like they are.
BEGIN TRANSACTION
UPDATE A
SET Complete =...
May 9, 2010 at 6:04 pm
mike.renwick-894639 (5/7/2010)
I've not come across DDL triggers before- they look quite interesting and a relatively sensible place to capture changes.
I've written this trigger to record when DDL changes...
May 7, 2010 at 10:29 am
Viewing 15 posts - 2,506 through 2,520 (of 2,610 total)