Viewing 15 posts - 661 through 675 (of 1,473 total)
Bob Hovious (9/15/2009)
September 15, 2009 at 11:51 am
From previous debates comparing things like derived tables vs. correlated subqueries, I believe the result always comes down to the optimizer.
Very simple subqueries with outer references are typically...
September 15, 2009 at 11:19 am
Gabriel P (9/15/2009)
Garadin (9/15/2009)
September 15, 2009 at 10:03 am
That recursive CTE is probably the coolest piece of code I've seen in quite a while. Makes me realize you can apply them to more than just hierarchies.
September 15, 2009 at 9:04 am
David.Maron (9/15/2009)
If you have source controll in subversion etc. there is still the possibility to make changes...
September 15, 2009 at 8:51 am
The history table you're making could likely be used with the DDL triggers in 2005 to be pseudo source control. Just make a DDL trigger for ALTER_PROCEDURE (Optionally create...
September 15, 2009 at 8:43 am
HowardW (9/15/2009)
sys.sql_modules preserves line breaks, it's the SSMS grid view that doesn't. If you return the results to text, you'll see that the line breaks are there.
I was just about...
September 15, 2009 at 8:39 am
Jonathan (9/15/2009)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently...
September 15, 2009 at 8:13 am
Beyond which, I personally don't know the exact schema / rules for MAC addresses. Maybe I'm the only one. I'm sure I could google it and find it...
September 15, 2009 at 8:09 am
All better. No more replies from me until I've had some coffee! Great reminder about ALL keyword Howard.
September 15, 2009 at 7:55 am
tnocella (9/15/2009)
September 15, 2009 at 7:52 am
pwatson (9/15/2009)
September 15, 2009 at 7:46 am
Let's try to keep this consolidated. Arun has already posted some code in this thread. Any replies here please.
http://www.sqlservercentral.com/Forums/Topic787173-338-1.aspx
September 14, 2009 at 11:49 pm
This is now the 7th time you've posted this same thing. What's the deal? Beyond the repeated posting, you've been around long enough to know that the way...
September 14, 2009 at 11:48 pm
You should be able to do something like this:
SELECT C.DateGroup,
SUM(I2.Code) FTE
FROM DOCTOR A
INNER JOIN DOCTOR_SURGERY B ON A.DOCTOR_SURGERY_ID = B.DOCTOR_SURGERY_ID
INNER JOIN (
SELECT B.Doctor_Surgery_ID,
CASE
...
September 14, 2009 at 7:04 pm
Viewing 15 posts - 661 through 675 (of 1,473 total)