Viewing 15 posts - 1 through 15 (of 23 total)
peter-757102 (11/13/2009)
November 13, 2009 at 1:15 pm
michael.rosquist (11/13/2009)
3. C# is harder to read (and uglier) due to parentesies and brackets:
C#
public static void HandleControl(System.Web.UI.Control oControl, System.Type oType,
ProcessControlDelegate controlMethod, DelegateArgs delegateParam, bool...
November 13, 2009 at 12:32 pm
I guess I just haven't come across a situation where this is necessary. If you are only inserting a few rows (OLTP) then what is wrong with simply concatenating multiple...
August 18, 2009 at 11:14 am
Lynn Pettis (4/29/2009)
From BOL:
Columns that are of the large object (LOB) data types ntext, text, varchar(max), nvarchar(max), varbinary(max), xml, or image cannot be specified as key...
April 29, 2009 at 1:08 pm
Jeff Moden (4/29/2009)
Scott Roberts (4/29/2009)
April 29, 2009 at 12:23 pm
Lynn Pettis (4/27/2009)
I knew you'd have a bit to say here when you read it. I modifed his table def for RawData to match the def in his cursor...
April 29, 2009 at 10:20 am
Jeff Moden (4/27/2009)
April 29, 2009 at 10:10 am
Lynn Pettis (4/27/2009)
April 27, 2009 at 3:28 pm
Lynn Pettis (4/27/2009)
April 27, 2009 at 2:49 pm
Bob Hovious (4/27/2009)
Sidebar discussions are the only payment a volunteer ever gets.
And hopefully an occassional "thank you". Although I'd be obliged to agree if you don't consider that much of...
April 27, 2009 at 2:46 pm
Thank you both very much for your solutions. I will definitely give both of them a try on larger data samples.
As for row sequencing, is it not invalid to assume...
April 27, 2009 at 2:07 pm
Lynn Pettis (4/27/2009)
Possibly, but based on the trivial data, table structure, and expected results provided, it works.
Actually, it doesn't.
Check your results against the "expected results" in post #3 again....
April 27, 2009 at 1:14 pm
Bob Hovious (4/27/2009)
Tsk... I'll never understand what is wrong with a simple integer.
I'm certain that you (and everyone else in these forums) is keenly aware of the pros and cons...
April 27, 2009 at 1:09 pm
Oops. The RowId column (or "Id" column) is a uniqueidentifier so "MIN(rowid)" doesn't work. I don't see a "First()" function for SQL Server. Any other ideas?
April 27, 2009 at 12:32 pm
Thanks Bob. I noticed that your original solution generated 4 table scans on the main table (that has millions of records) but I was reserving judgment until I ran some...
April 27, 2009 at 12:14 pm
Viewing 15 posts - 1 through 15 (of 23 total)