Viewing 15 posts - 53,686 through 53,700 (of 59,072 total)
Copy only the data you need for the report from the linked server into a local table... then, do the reporting off that and drop the table when you are...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 10:55 pm
Yes... you haven't DECLARED @db_name...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 10:51 pm
Then, try this...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 9:45 pm
Thank you, Jeff - from now on I will more-closely watch my use of inline queries.
Taking what Larry Taylor said a little bit further --
Jeff clearly states that...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 7:36 pm
Sergey Kazachenko (12/7/2007)
Adam Machanic liked a cursor-based solution for running sums:http://sqlblog.com/blogs/adam_machanic/archive/2006/07/12/running-sums-redux.aspx
I like Adam... so I won't hold that against him. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 7:33 pm
Charles Kincaid (12/7/2007)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 7:31 pm
It makes it difficult to have a conversation when people refuse to use well-established meanings for particular terms.
Heh... But that's my whole point... I believe that what you and a...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 7:26 pm
...how certain types of UDFs can also lead to "RBAR" executions, e.g., when applying a UDF to a column to extend the results of your SELECT.
That's a spot-on observation... and...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 7:59 am
Does a inner join (for that matter any join) with a inequality condition in the where clause make a triangular join.
Yes, but in the presence of other criteria, it can...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 7:43 am
Christian Buettner (12/7/2007)
I am not sure if I misunderstood something, but the SQL Statement does NOT utilize a "triangular join":
Select orderid,orderdate,productid
from orders O INNER JOIN orderdetails OD
On O.orderid...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2007 at 7:36 am
On the other hand, if your goal is for elegant well written code above all, especially in a more purely theoretical setting, then you can largely if not completely ignore...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2007 at 11:14 pm
Does a inner join (for that matter any join) with a inequality condition in the where clause make a triangular join.
Yes, but in the presence of other criteria, it can...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2007 at 11:06 pm
...yes, to Oracle 😛
Heh... you're a sick man, Corey 🙂 ... I hate Oracle... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2007 at 10:59 pm
By the way - that's processing that grows a a slower rate than linearly proportional to the cardinalty of the universe you're operating in.
Again, very well said... if the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2007 at 10:54 pm
But by not considering the physical aspect, or how the logical applies to it, you will eventually build something that left to its own devices will do just that (saturate...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 6, 2007 at 10:46 pm
Viewing 15 posts - 53,686 through 53,700 (of 59,072 total)