Viewing 15 posts - 1 through 15 (of 221 total)
Nice one!
With this set of original data, it's not really doing much, since all the ID-s are different, so the inner SELECT will effectively yield the original table, and the...
October 16, 2024 at 7:05 am
Except you didn't really. Somehow you changed what I answered, from what is now the correct answer to the answer initially marked as correct.
September 6, 2024 at 11:14 pm
I'm thinking both the answer and explanation got a bit lost in translation...
September 6, 2024 at 6:12 am
You can remove the TOP or the WITH CHECK option. Either will do the trick, as well as removing both.
February 26, 2024 at 11:58 am
The way this question is asked it would be 11 hours, but I do get the confusion: that's what happens when British people try to Americanize the question, LOL....
May 24, 2023 at 3:15 pm
What should we do when the answers are flawed like this? I also went for 9 hours because I assumed that was the intended correct response...
We wait until the...
May 24, 2023 at 2:15 pm
17-7 = 10, and then some minutes. Given that billing is per started hour, I'd venture that the available answers fall short.
May 24, 2023 at 7:47 am
I'm not even going to begin trying to figure out what the question is. My guess is at least half the text is missing.
April 14, 2023 at 8:03 am
I noticed that the actual answer did not appear in the results. I tried to guess the intent of the question, but was wrong.
There are two results that can...
January 20, 2023 at 2:01 pm
The correct answer to this will depend on the setting of ANSI_NULL_DFLT_ON, since the NULLability of the CHAR column isn't specified.
January 20, 2023 at 8:23 am
The question is asked clearly: "What is the limit for rows in a Table Valued Constructor?". The documentation states that there is a limit. So there is nothing left...
November 15, 2022 at 3:21 pm
A table valued constructor is only limited to 1000 rows when used directly as a source for an insert statement. When used to create a derived table there is no...
November 14, 2022 at 7:56 am
Part of the QotD is knowing defaults. This was left off, as many people do this and the default is to allow NULLs.
As a good practice, however, I agree....
October 24, 2022 at 8:46 pm
Just to nit-pick: This will depend on the settings of ANSI_NULL_DEFAULT_OFF / ANSI_NULL_DEFAULT_ON for the session, or by the ANSI_NULL_DEFAULT database option. By default, these will be set such that...
October 21, 2022 at 8:14 am
Viewing 15 posts - 1 through 15 (of 221 total)