Viewing 15 posts - 1 through 15 (of 898 total)
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
July 5, 2018 at 3:02 am
Good question. Thanks Steve..
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
February 5, 2018 at 11:28 pm
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
February 1, 2018 at 11:14 pm
Good conceptual question. Thanks Steve.
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
December 25, 2017 at 9:13 pm
Good question and a very important concept
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
December 17, 2017 at 9:00 pm
Not sure why that would give an error.
But there are a few things other than that which will give your errors.
I also checked your other post out...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
July 26, 2017 at 5:53 am
Any specific reason as to why you want to do it in 2 steps when you can do it in a single step as shown by Drew?
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
July 26, 2017 at 5:15 am
This should helpSELECT [Dept#],
MAX( CASE WHEN TransCode = 'wetwear' THEN 'wetwear' ELSE NULL END ) ColName1,
SUM(...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
July 17, 2017 at 6:07 am
This is where the PIVOT operator becomes painful to use. CROSS-TAB's are easier to use and understand is such cases.
USE [tempdb];
GO
CREATE TABLE PersonAddress How to post data/code on a forum to get the best help - Jeff Moden
Kingston Dhasian
http://www.sqlservercentral.com/articles/Best+Practices/61537/
July 3, 2017 at 12:22 am
Good question. Thanks.
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
July 3, 2017 at 12:05 am
Good Question.
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
June 29, 2017 at 1:18 am
Nice question. Thanks.
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
June 19, 2017 at 4:57 am
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
May 15, 2017 at 5:38 am
Duplicate post.
https://www.sqlservercentral.com/Forums/1876106/get-missing-dates-differencedays-and-fill-previous-dates-data-in-sql-server
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
May 15, 2017 at 2:44 am
SELECT di.date, ord.orderid, DATEDIFF( DAY, ord.orderdate, di.date ) missingdays, ord.cost
FROM [dbo].[dateinfo] di
CROSS APPLY (
SELECT TOP...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
May 15, 2017 at 1:44 am
Viewing 15 posts - 1 through 15 (of 898 total)