Viewing 15 posts - 1,276 through 1,290 (of 4,087 total)
February 7, 2018 at 12:41 pm
You haven't provided nearly enough information to even begin to answer this.
Drew
February 7, 2018 at 8:23 am
And what happens when someone has a first name that includes a space? "Jackson, La Toya"
Drew
February 6, 2018 at 1:02 pm
I looked at this, and it looks like your data is too clean to be representative, because your...
February 6, 2018 at 12:57 pm
February 6, 2018 at 12:00 pm
I would use the Table Value Constructor version instead of the standard UNPIVOT, because it's more flexible and you need that flexibility here. I've used a sample where the StartDate...
February 6, 2018 at 9:46 am
What severity are you using in your RAISERROR?
It sounds like you don't have your BEGIN/END statements placed properly. You should never be able to process both sides of...
February 6, 2018 at 9:15 am
RonKyle - Tuesday, February 6, 2018 7:46 AMHowever, I'm otherwise a big fan of the changes, so I'll make due.
February 6, 2018 at 8:08 am
It looks like a fairly standard UNPIVOT. What are you having difficulties with?
The main issue that I see is that you are storing your dates in a non-standard...
February 6, 2018 at 8:00 am
So you're okay with someone who has a gap that crosses years?
INSERT INTO #t(BeneficiaryID, EligYear, EligMonth )
Select '12345678',2016,6 UNION
Select '12345678',2016,7 ...
February 5, 2018 at 1:39 pm
February 5, 2018 at 12:45 pm
February 5, 2018 at 9:09 am
Why are you testing for both IsWeekend = 1 and weekdayno = 7? If weekdayno = 7, then...
February 5, 2018 at 8:07 am
This gives the expected results and only requires one scan of the table.
SELECT col1, CASE WHEN GROUPING(col2) = 1 THEN 'diff' ELSE col2 END AS col2,...
February 2, 2018 at 12:53 pm
Viewing 15 posts - 1,276 through 1,290 (of 4,087 total)