Viewing 15 posts - 41,596 through 41,610 (of 59,067 total)
Chris Howarth-536003 (10/7/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 3:05 pm
Heh... of course, I will admit that, no matter which method someone uses to identify the column/table relationships, just about anything would be better than a format like the following...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 2:21 pm
Wow. "Brilliant" is an understatement.
Try the following...
Select "Field[1]" from
... then find the Developer, the Manager, and the DBA that allowed the brackets and see if they like porkchops... at...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 2:13 pm
Lynn Pettis (10/7/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 1:49 pm
wagner crivelini (10/7/2009)
I understand your point.
But it came out so naturally to me writing statements with aliases that it never crossed my mind to say they are optional.
But I...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 1:41 pm
davidpenton (10/7/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 1:34 pm
David Walker-278941 (10/7/2009)
ryan.mcatee (10/7/2009)
Speaking of queries, the ones in the article are simple examples, but when you're pulling many columns and joining on multiple keys, repeating full table names over...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 1:28 pm
sushila (10/7/2009)
Jeff - ...are on your way to becoming a famous author as well...could you not teach people the art of keeping an even tone..?!;-)
Hello my long-time and trusted friend....
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 1:20 pm
sql.varun (10/7/2009)
I have a question on Joins.Can anyone help me.
When I run below query it is running for 40 mins as it is using Table Spool.
Query:
select a.*,b.*
from table a
left...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 12:54 pm
David Walker-278941 (10/7/2009)
Jeff Moden (10/7/2009)
Actually, they ARE becoming required. The use of table names instead of aliases has been deprecated.
Even if they weren't, short table names may work fine...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 12:51 pm
Jack Corbett (10/7/2009)
Jeff Moden (10/5/2009)
DECLARE @DOB DATETIME
SET @DOB = '2008-03-01'
DECLARE @Now DATETIME
SET @Now = '2009-03-01'
--=====...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 9:24 am
David Walker-278941 (10/7/2009)
SELECT t1.key1, t1.field1 as Name,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 9:12 am
nigel. (10/7/2009)
Click here
Heh... I always get a kick out of lmgtfy.com. It's more fun than "Please visit BOL."
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 8:43 am
@Anitha,
I'd still like to know why you need to do such a thing... it's just a matter of wanting to know on my part and, maybe, I (or someone else)...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 8:40 am
Mark-101232 (10/7/2009)
Matt Whitfield (10/7/2009)
I see results on my boxes as being faster for 2000 & 2005 and equitable on 2008,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2009 at 8:30 am
Viewing 15 posts - 41,596 through 41,610 (of 59,067 total)