Viewing 15 posts - 31 through 45 (of 207 total)
If I read this correctly, you just implemented the LAG(...) Over(...) analytic function.
However, I'm interested... if you do this on a large dataset, what does the execution plan look...
October 11, 2010 at 3:17 am
Jeff Moden (9/4/2010)
Lynn Pettis (8/31/2010)
Guess what, Oracle actually has CTE's, they just don't call it that in the reference manual.
True enough. And search for WITH won't do it either....
September 17, 2010 at 5:07 am
Almost impossible. My advise is upgrade to SQL Server 2005, then start looking at Oracle which has top() over(), lag, lead, and a number of other really cool analytic functions....
September 17, 2010 at 3:51 am
David BAFFALEUF (8/18/2010)
Hi Stanley, thanks to share.Can you tell us whether your server is 32 or 64 bits ?
David B.
I know where this is going. If it's a 32-bit...
August 18, 2010 at 2:13 am
A cartesian product is set-based... it's a product of sets... of course on a database agreed - you really want to avoid it 🙂 But it's part of a foundational...
July 30, 2010 at 4:25 am
Jeff, I'm also interested, but before I even start looking I'm getting up to speed on set theory. In particular, understanding cartesian products, relations, functions, function composition, function limitations, etc.
July 29, 2010 at 5:31 pm
Whoa! What's that full outer join doing there?
If I'm understanding what you are trying to achieve correctly, you are trying to output:
1. A column for the learner's name, then
2....
July 7, 2010 at 5:51 am
Fair point... also I'm thinking it won't scale because each time it does the sum it has to sum every row before it, which of course increases every time.
I...
April 28, 2010 at 8:52 am
Oh, and before anyone asks why I didn't run an execution plan to see what it looks like... I did!
I got an odd error from SQL Server (SSMS?), which I've...
April 28, 2010 at 4:48 am
SQL Server is trying to allocate memory but for reason it can't. Now I'd say that given that it says that it's reserved 1.8 GB or so of VAS, and...
December 7, 2009 at 4:33 am
I'm curious what your bootup switches are. Do you use /3GB as well as /PAE ?
November 28, 2009 at 12:43 am
Andrew Gothard-467944 (11/26/2009)
What it does is clear down your procedure cache -...
November 28, 2009 at 12:26 am
If you have multiple instances then I'd say that you are using the SQL Server Browser service and different databases are listening on different ports.
But as it's sorted by...
November 19, 2009 at 3:13 am
Viewing 15 posts - 31 through 45 (of 207 total)