Viewing 15 posts - 676 through 690 (of 9,695 total)
March 15, 2018 at 4:57 am
February 26, 2018 at 11:19 am
The worst part about it is the people who were developing this code kept insisting on turning SQL tables into flat files and doing stupid stuff like that, no matter...
February 23, 2018 at 10:55 am
Thanks, Drew. I was working on that, but changing different items in the CASE. I'll take a look at that and see how it works.
February 13, 2018 at 5:12 am
February 12, 2018 at 12:16 pm
BAH. I thought I was through with this, but I just found an outlier.
When testing with the this data:
INSERT INTO #MyTemp (Office, POID, DeliverySite,...
February 12, 2018 at 11:46 am
Drew, thank you so very much. I'd never heard of LAG() or the ROWS UNBOUNDED PRECEDING stuff until now. I love this job because I learn new things every day.
February 10, 2018 at 1:29 pm
February 10, 2018 at 6:52 am
Had to fiddle with your code, Drew. It didn't take into account multiple Address codes on a single invoice. Then again, neither did my sample data because I didn't see...
January 23, 2018 at 1:20 pm
Almost 3 hours later and the CTE is still trying to run. I'm going to yank it out, run the code for PayDate = LastAccountDate, then do an update for...
January 23, 2018 at 11:32 am
January 23, 2018 at 8:53 am
It occurs to me that no matter what way I go, all of these solutions will need to be put in a CTE since I'm joining to multiple tables (not...
January 23, 2018 at 8:40 am
Thanks. I'll check those out... I didn't even think about CROSS APPLY. I keep forgetting about that.
January 23, 2018 at 7:44 am
Viewing 15 posts - 676 through 690 (of 9,695 total)