Viewing 15 posts - 30,166 through 30,180 (of 59,101 total)
tmarkham1 (5/5/2012)
rCTE is the most efficient solution
You're the fourth person to say that with no proof! [font="Arial Black"]PROVE IT![/font]
--Jeff Moden
Change is inevitable... Change for the better is not.
May 6, 2012 at 9:33 am
SQL Kiwi (5/4/2012)
One way to do this is to materialize the CTE
I'm definitely a fan of that especially when a CTE is referenced more than once.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2012 at 2:53 pm
best_yunus (5/5/2012)
What is called Object in SQL Server? Tell me some objects name?
Google. 😉 Seriously... Google for "sql server objects" and you'll find out. To summarize, just about...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2012 at 2:35 pm
If you're worth your salt as a DBA or a Hybrid Application DBA, the Geoff A's recommendations are just about spot on.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2012 at 2:31 pm
I think that people who insist that the application can take care of RI are just about as flambouyantly in desregard (and equally wrong) for proper database design as those...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2012 at 2:29 pm
Ah... sorry. My bad. I was being lazy.
The book title is "MCSE Training Guide / SQL Server 6.5 Design & Implementation. It was written to...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2012 at 2:13 pm
All good points and thanks for your time, Lowell. You've actually emphasized the very point that I'm trying to get across.
That point is that SQLCLR is NOT some magical...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 9:47 pm
To continue, both queries use a "Work Table". The one with the MERGE hint uses it a whole lot less, though.
[font="Courier New"]Warning: The join order has been enforced because...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 9:36 pm
SQL Kiwi (5/4/2012)
Jeff Moden (5/4/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 9:32 pm
vinu512 (5/4/2012)
Select
(Case When Tag = 'Tag1' Then Date else NULL end) As Tag1Date,
(Case When Tag = 'Tag1' Then Value else NULL end) As Tag1Value,
(Case When...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 8:42 pm
I love good books on SQL Server. Unfortunately, I've only seen one really good book to get folks started with programming in T-SQL and it went out of print...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 8:07 pm
Jeff Moden (5/4/2012)
Lynn Pettis (5/4/2012)
Jeff Moden (5/4/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 7:59 pm
anwar.melh (5/4/2012)
I'd like to do a SELECT which eliminate successive rows having the...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 7:56 pm
Lynn Pettis (5/4/2012)
Jeff Moden (5/4/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 7:42 pm
opc.three (5/3/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2012 at 2:03 pm
Viewing 15 posts - 30,166 through 30,180 (of 59,101 total)