Viewing 15 posts - 6,001 through 6,015 (of 8,416 total)
RBarryYoung (2/20/2010)
FYI: @PartDescription is not defined.
It was defined in the previous posts as NVARCHAR(60). The destination column appears to be NVARCHAR(100) though.
I am going with NVARCHAR(100), just to be...
February 21, 2010 at 1:25 am
pritesh-807803 (2/21/2010)
If i create index on same table is there any thing wrong.. insted of view index.
Pritesh,
The point of an indexed view is that it automatically keeps partial aggregations up...
February 21, 2010 at 1:21 am
February 21, 2010 at 12:59 am
Alex Kuznetsov blogged about this recently, highlighting common code and some considerations to bear in mind. I don't necessarily agree with all the content, but I thought I should...
February 21, 2010 at 12:14 am
MERGE was new for 2008 😛
Demonstration code using EXISTS:
-- Test table
CREATE TABLE #Test
(col1 INTEGER PRIMARY KEY, data INTEGER NOT NULL);
-- A row...
February 21, 2010 at 12:12 am
Demonstration code using MERGE:
-- Test table
DECLARE @test-2
TABLE (col1 INT PRIMARY KEY, data INTEGER NOT NULL);
-- A row to UPSERT
INSERT @test-2 (col1, data) VALUES (1, 1);
SELECT *
FROM...
February 20, 2010 at 11:56 pm
Wrap your code in [ code ] [ /code ] tags (remove the spaces within the tags there)
Click the 'IFCode' button in the editor (to the right of the Bold,...
February 20, 2010 at 11:45 pm
Welsh Corgi (2/20/2010)
I apologize for not taking the time as Paul did to fully explain the implications concerning the use of a Text Field.
Nothing to apologize for -...
February 20, 2010 at 11:39 pm
I am unsure how your code relates to the requirement "The idea is that if the record being saved already exists, update the row, otherwise insert it."
You appear to be...
February 20, 2010 at 11:35 pm
Matt Miller (#4) (2/15/2010)
February 20, 2010 at 11:32 pm
Lynn Pettis (2/20/2010)
Actually, both are the same.
Both what? Query performance and server performance? :blink: :unsure:
The whole thread is about why a given query appears to run faster on...
February 20, 2010 at 11:10 pm
Yes, I should have said 'interior case' in my earlier attempt to explain where the product key sticker is on my copy.
February 20, 2010 at 10:59 pm
I'd like to help, but the question isn't quite clear to me.
If you post some example data to demonstrate, it might help me understand it better.
February 20, 2010 at 10:58 pm
Hi Mr. Corgi 🙂
Thanks for taking the time to track down those helpful links. As a tip, if you wrap those in IFCode [ url ] and [...
February 20, 2010 at 10:49 pm
Viewing 15 posts - 6,001 through 6,015 (of 8,416 total)