Viewing 15 posts - 43,261 through 43,275 (of 59,098 total)
It sounds like you're using a cursor or while loop. What is it that you're doing that requires one?
As a side bar, you can get around the limitations of...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 11:12 pm
Will there ever be 3 rows?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 8:38 pm
Steve Jones - Editor (6/23/2009)
I don't think anyone has crossed a line, but I see a few posts that are close. Please...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 7:48 pm
Paul White (6/23/2009)
Oh boy. So now "standard SQL" has been invoked.Jeff's gonna absolutely love this - I just hope Carl likes pork.
Heh... I never thought I'd tell someone to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 7:45 pm
Charles Kincaid (6/22/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 7:39 pm
Never mind... wrong post. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 6:57 pm
Tom.Thomson (6/23/2009)
the foreign key constraint - but that only works if the target is (a) unique and (b) the primary key.
I'm pretty sure that only half of that is true....
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 6:24 pm
Eichpeel (6/23/2009)
code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 4:21 pm
For this reason, I do not use these types of undocumented features
Look up UPDATE in BOL... the SET @variable = column = expression IS documented.
and also try to avoid...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 4:16 pm
Paul White (6/23/2009)
Using my preferred measure of total_worker_time as reported by sys.dm_exec_query_stats:
Triangular join: 10,218,749µs (~10.2 sec)
Your method:
Receipts running total: 41,015µs (~0.04 sec)
Shipments running total: 240,234µs (~0.24 sec)
Final SELECT: 4,425,781µs...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 4:09 pm
suneel (6/22/2009)
As I mentioned, we import the resultset of these SPs into Excel. But the columns that we display in each and every worksheet are dynamic. So, we are trying...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 9:44 am
Carl, see attached. Didn't change your logic of how to create the FIFO, just the logic of doing the running totals. Basically, it cuts the time in half...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2009 at 3:28 am
Lynn Pettis (6/4/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2009 at 9:31 pm
dmbaker (6/10/2009)
5) Access to the site will require a custom-built browser that is arcane, follows no known standards, and is difficult to install, requiring tweaking of hidden system files...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2009 at 9:25 pm
WayneS (6/22/2009)
Jeff Moden (6/20/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2009 at 4:21 pm
Viewing 15 posts - 43,261 through 43,275 (of 59,098 total)