Viewing 15 posts - 16 through 30 (of 223 total)
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
Of course the isolation level of the database should be as in the image
Of course! That's obviously clear from the questionđŸ˜‹
June 8, 2022 at 7:47 am
I would argue that in principle the explanation is correct. However, in the example given, this would result in zero rows, unless a very specific set of conditions are met....
June 8, 2022 at 7:00 am
Maybe it's a good idea to refrain from answering this until the correct answer has been reviewed...
June 3, 2022 at 6:21 am
But the question was ONLY the year, and the year function (getdate()) doesn't do that?
It does, but there are two problems with that:
...
January 7, 2022 at 1:01 pm
Easy enough. But I would personally assign whoever created that table with DATETIME instead of DATE to toilet cleaing duty for a week...
January 3, 2022 at 9:25 pm
Well, there's usually not much real body to New Year's resolutions...
January 3, 2022 at 3:18 pm
Brilliant! So now those of us who answered master_files are flagged as giving a completely incorrect answer, rather than an equally correct alternate answer.
December 6, 2021 at 8:57 pm
Dearie me!
Reading the exact same doccumentation pointed out in the reference, I deduced that the result should be 'x' for the single char column, and 'xxxx' for the longer column,...
December 3, 2021 at 7:53 am
Yeah, I think I'll sit this one out for a bit...
October 15, 2021 at 7:46 am
Ooops!
This isn't the first time I've accidentally clicked on the "Featured Script" link instead of the "Question of the Day" link. And to add to my confusion, I misread "Can...
July 12, 2021 at 3:12 pm
You know, I kind of prefer the kinds of questions where there is a way to answer the question đŸ˜€
July 12, 2021 at 8:05 am
Well, this doesn't make sense. If 'radix' sort is named the fastest method for vectors of integers, and this is the method selected for those when 'auto' is specified, then...
April 14, 2021 at 6:34 am
Viewing 15 posts - 16 through 30 (of 223 total)