Viewing 5 posts - 1 through 5 (of 5 total)
Copy and Paste into MS does not validate. Error at line 3 = sign.
April 11, 2014 at 6:21 am
What is the difference and implications of utilizing #TempTableName and @TempTableName ?
March 19, 2014 at 7:52 am
Andy:
I have been working with SSIS for some time and basically learned most of the tricks the hard way. I'm looking forward to your future articles and would like to...
October 12, 2012 at 8:54 am
Actually the ROW_NUMBER() was the key. This worked correctly:
SELECT [State],
[City],
ROW_NUMBER() OVER(PARTITION BY [State] ORDER BY [City]) AS [City_Cnt]
FROM [dbo].[MySalesDataTableAggregatedMonthly]
WHERE [State] IS NOT NULL AND [City] IS...
October 10, 2012 at 8:51 am
No I need to count each city in each state. Removing distinct just gives the total count of cities. Nice guess.
October 10, 2012 at 8:10 am
Viewing 5 posts - 1 through 5 (of 5 total)