Viewing 15 posts - 166 through 180 (of 378 total)
krowley (7/27/2011)
July 28, 2011 at 1:59 am
SwePeso (7/15/2011)
These three options are avaiable with the RANGE...
July 15, 2011 at 3:55 am
SQLkiwi (7/14/2011)
UPDATE target
SET AccountRunningTotal = art,
AccountRunningCount = arc
FROM
(
SELECT
td.AccountRunningTotal,
td.AccountRunningCount,
art = SUM(td.Amount) OVER (PARTITION BY td.AccountID ORDER BY td.Date, td.TransactionDetailID),
arc = COUNT_BIG(*) OVER (PARTITION BY...
July 15, 2011 at 3:22 am
Maybe I am missing something or lack some releveant experience in this area, but i see the following code:
FROM SYS.DM_DB_INDEX_USAGE_STATS AS S
INNER JOIN SYS.INDEXES AS I
ON I.[OBJECT_ID] =...
July 5, 2011 at 6:17 am
Demonstrating something you have done is getting harder by the day, because all work is hidden on inaccessible servers when at an interview location. So it is just your word...
June 8, 2011 at 1:29 am
I like to add my idea that it is a mistake to even strive for a fully declarative/functional language in the first place. SQL can be difficult to handle at...
May 16, 2011 at 5:59 am
I wouldn't dare to claim T-SQL is broken as for the most part it does a good job and to my satisfaction. The more recent added features (recursive CTE, output...
May 15, 2011 at 10:03 am
Tom.Thomson (5/14/2011)
peter-757102 (5/13/2011)
Tom.Thomson (5/13/2011)
erroneous post - content deletedYou make me curious 😉
I was thinking of trying with a quick approximation for sqrt which doesn't need any real numbers, but as...
May 14, 2011 at 9:19 am
Tom.Thomson (5/13/2011)
erroneous post - content deleted
You make me curious 😉
May 13, 2011 at 4:03 pm
Thank you Paul, you saved me some time right there!
I am only going to check one more idea (as stubborn as I am) for the specialized and most frequent occurring...
May 13, 2011 at 7:26 am
JTSash (5/13/2011)
Hmmmm... I thought that Access had a running total function built in. I might be getting it confused with SSRS.
Jeff, I believe the running total you are thinking of...
May 13, 2011 at 6:25 am
Jeff Moden (5/12/2011)
May 13, 2011 at 5:29 am
Jeff Moden (5/8/2011)
By the way... I've attached the final results which also contains more charts than you can shake a stick at.
And wow, that Split method (green line) does some...
May 9, 2011 at 4:03 am
Jeff Moden (5/8/2011)
May 9, 2011 at 3:59 am
Nadrek (5/7/2011)
Jeff Moden (5/7/2011)
For the temporary tally table variant, I would also suggest something other than a power of 10 multi-CTE; 20^3 is 8000, and 21^3 is just...
May 8, 2011 at 2:54 am
Viewing 15 posts - 166 through 180 (of 378 total)