Viewing 15 posts - 31 through 45 (of 189 total)
Easy Question..!!
But, When you provide Alias Name, it should be "YearMonth" because CTE has Where Clause for YearMonth Column.
April 8, 2015 at 10:54 pm
Thanks for sharing. This is very helpful and much needed feature.
March 16, 2015 at 3:28 am
Jeff Moden (2/14/2015)
Luis Cazares (2/14/2015)
Quick question. How do you define the order? I think I know the answer...
February 14, 2015 at 11:11 pm
Guys, Please Help with the problem , let me know if the problem is not well drafted Here.
February 13, 2015 at 10:05 pm
CASE STATEMENT is an expression while ISNULL is a function.
In case provided by you, i will say it depends on the Data, if its some few hundred or thousand rows...
February 1, 2015 at 10:08 pm
I am using BIDS 2012
2012 has SSDT,not BIDS
January 8, 2015 at 10:04 pm
SELECT CODE, COUNT(Name) AS Name
FROM TABLENAME
GROUP BY CODE
December 30, 2014 at 2:31 am
Only ORDER BY Clause can guarantee the ordered display of records, index cannot guarantee ResultSet display.
December 30, 2014 at 12:42 am
Hi,
For the time being you may use this
DECLARE @table TABLE (colA INT)
INSERT INTO @table
SELECT 1
UNION ALL
SELECT -1
UNION ALL
SELECT 2
UNION ALL
SELECT -2
SELECT A.colA,-(B.colA) AS ColB FROM @table AS A
INNER JOIN...
December 29, 2014 at 11:07 pm
Viewing 15 posts - 31 through 45 (of 189 total)