Viewing 15 posts - 1,171 through 1,185 (of 4,081 total)
ccparkhill (5/18/2011)
No, recipie 1 is:Apple
Recipie 7 is:
Apple
Orange
Banana
My error. I wasn't thinking of combinations of single elements.
May 18, 2011 at 12:45 pm
Recipe number 7 looks a lot like recipe #1 to me... This problem seems oddly familiar though.
May 17, 2011 at 5:08 pm
You didn't mention how big your table was (number of rows.)
To see some performance comparisons of different techniques dealing with a similar problem.
May 16, 2011 at 3:12 pm
You CAN use a CASE statement in a COUNT... --Jeff Moden
It's just a personal preference. I just feel happier summing ones and zeroes, than...
May 12, 2011 at 12:34 pm
One approach is to use SUM(CASE...) in place of COUNT().
The trick is to make the test for an earlier Trans_Type = 1 quick. Depending on the...
May 11, 2011 at 4:26 pm
Forget the object_ID. You need to know the object name for a table_source in the SELECT ... FROM.
I can think of two approaches...
May 11, 2011 at 10:17 am
Brandie: Congratulations for the story AND congratulations for getting to do work that you love.
May 6, 2011 at 3:40 pm
I don't believe this should be done with set-based coding. You are essentially slicing up an ordered set of row into 3k chunks ( or "tiles" as...
May 1, 2011 at 11:30 pm
SQLRNNR (4/28/2011)
Stefan Krzywicki (4/28/2011)
The Dixie Flatline (4/28/2011)
SQLRNNR (4/28/2011)
April 28, 2011 at 4:14 pm
SQLRNNR (4/28/2011)
April 28, 2011 at 3:05 pm
Jason, it's easy.
Use DBCC TimeWarp's
New parameters.
April 28, 2011 at 2:36 pm
Haiku
Listen... can you tell?
Someone is using cursors.
Hear the pork chops fly!
April 28, 2011 at 2:28 pm
I think that was the point behind his question, Stefan. Why would he ever need to make a computed column persisted?
April 28, 2011 at 2:23 pm
In this as in all things, it depends.
You are correct. If your query is using a covering index then the data isn't coming from the clustered index....
April 28, 2011 at 1:04 pm
Did you deliberately comment out @RunningTotal in your FETCH...INTO?
FETCH NEXT FROM RunningTotalCursor
INTO @conta,@docnome, @u_subconta, @data, @mlstamp,@dinome, @adoc, @dilno, @edeb, @ecre, @NomeCli--, @RunningTotal
April 28, 2011 at 12:34 pm
Viewing 15 posts - 1,171 through 1,185 (of 4,081 total)