Viewing 11 posts - 1 through 12 (of 12 total)
GSquared (3/4/2011)
ColdCoffee (3/3/2011)
March 4, 2011 at 7:36 am
Craig Farrell (3/3/2011)
GSquared (3/3/2011)
lee rite (3/3/2011)
ColdCoffee (3/3/2011)
lee rite (3/3/2011)
Thanks again! I think I'm done! I really appreciate all the help!
Will i be getting a Samsung Focus for this help ,...
March 3, 2011 at 1:58 pm
ColdCoffee (3/3/2011)
lee rite (3/3/2011)
Thanks again! I think I'm done! I really appreciate all the help!Will i be getting a Samsung Focus for this help , mate ?? :hehe:
I will probably...
March 3, 2011 at 1:43 pm
ColdCoffee (3/3/2011)
lee rite (3/3/2011)
lee rite (3/3/2011)
ColdCoffee (3/3/2011)
SELECT GUID
FROM #T
GROUP BY GUID
HAVING COUNT( DISTINCT CompanyName) = 1
Thanks ColdCoffee! I think you nailed it. Your query selects all companies that...
March 3, 2011 at 1:22 pm
lee rite (3/3/2011)
ColdCoffee (3/3/2011)
SELECT GUID
FROM #T
GROUP BY GUID
HAVING COUNT( DISTINCT CompanyName) = 1
Thanks ColdCoffee! I think you nailed it. Your query selects all companies that never changed their...
March 3, 2011 at 1:03 pm
ColdCoffee (3/3/2011)
SELECT GUID
FROM #T
GROUP BY GUID
HAVING COUNT( DISTINCT CompanyName) = 1
Thanks ColdCoffee! I think you nailed it. Your query selects all companies that never changed their name. I...
March 3, 2011 at 12:59 pm
GSquared (3/3/2011)
lee rite (3/3/2011)
Craig Farrell (3/3/2011)
lee rite (3/3/2011)
Let me explain exactly what I'm working with, so you will...
March 3, 2011 at 12:53 pm
ColdCoffee (3/3/2011)
SELECT ID
FROM
( SELECT * FROM #T ) PIVOT_TABLE
UNPIVOT
(
Vals FOR ColNames IN ([2008],[2009],[2010])
) PIVOT_HANDLE
GROUP BY ID
HAVING ...
March 3, 2011 at 12:48 pm
Craig Farrell (3/3/2011)
lee rite (3/3/2011)
Let me explain exactly what I'm working with, so you will see why I...
March 3, 2011 at 12:38 pm
GSquared (3/3/2011)
CREATE TABLE #T (ID INT IDENTITY
PRIMARY KEY,
[2008] INT,
...
March 3, 2011 at 12:26 pm
Viewing 11 posts - 1 through 12 (of 12 total)