Viewing 15 posts - 2,431 through 2,445 (of 59,086 total)
Ok, Jeffrey... the Op posted some good test data. I'll give you the honors for providing the solution.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2022 at 1:42 am
Yeah, but in the actual question the OP asks for those students that turned in the assignment for all dates.
Sorry... I was in the process of changing my reply...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2022 at 1:35 am
But to just identify the students that did submit on every day - all you need is the number of days to match. Any student that has a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2022 at 12:48 am
Gosh... I hope you didn't take it the wrong way. It was meant as praise with the NOT referring to the critical symbol used in this great question.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2022 at 12:46 am
Heh... NOT a bad question, Steve. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2022 at 12:39 am
BTW and just to be sure, if you're enabling change tracking for some legal reason, it won't hold up in court.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 10:39 pm
Also, Jeff could you explain a little about the (TABLOCK) hint? Also, " OPTION (MAXDOP 1) --Keep parallelism from messing up the order"?
Sure...
About the WITH (TABLOCK)... it's being used...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 10:37 pm
Although this sounds like a strange question, why are you trying to check something to see if it's a date? If you intend to CONVERT it without having a failure,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 10:16 pm
You do need an outer join with the dates students are expected to have turn-ins in order to accommodate a very naughty class that has conspired with each other where...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 7:12 pm
Jeff's code seems to generate primary keys and produces the correct output afaik. Creating foreign keys should be straightforward for the OP. The split could be accomplished with OPENJSON...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 7:09 pm
Getting back on track, I agree with the simple definition expressed at the top of the article in the following link...
https://www.reference.com/world-view/partial-dependency-91beb2fa8c8354c5
That also means that the previous partial list of dependencies...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 6:58 pm
It's funny how such articles never use the word "partial".
Dependecies:
1. Grown children , working spouses, other relatives, and some "friends".
2. Old people with occasional bladder control issues. It's part of...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 6:51 pm
Although JSON is a simple solution, I generally avoid it for single level JSON because it's a fair bit slower than DelimitedSplit8k, Eirikur's wonderful "Lead" addition to the DelimitedSplit8k function,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 6:04 pm
Interesting that you've had the same problem with posts automatically being replicated, Grant. You should report that on the "Site Issues" forum and then send Webmaster@SQLServerCentral.com a heads-up. You're not...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 5:52 pm
Well done and very much appreciated, Ron. Thank you for taking the time to "splain the gazintas" for me.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2022 at 5:33 pm
Viewing 15 posts - 2,431 through 2,445 (of 59,086 total)