Viewing 15 posts - 2,836 through 2,850 (of 59,086 total)
I'm having an issue on 2016 and 2017... If you have 2019 or any version prior to 2016, would you run the following code, please, and let me...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 5, 2022 at 7:52 pm
Good timing - the current feature list for SQL Server 2022 includes the function GENERATE_SERIES(), which looks like a handy way to generate the Numbers or Tally rows.
Agreed. It...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 5, 2022 at 7:42 pm
Unless you have a system, such as Ola Hallengren's index maintenance solution, there's nothing in SQL Server that logs this information. And, no... even though index REBUILDs update stats, I...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 5, 2022 at 4:22 pm
Is anything here part of ISO/IEC 9075:2016 (ANSI X3.135)? https://blog.ansi.org/2018/10/sql-standard-iso-iec-9075-2016-ansi-x3-135/
What parts of the SQL standard has Microsoft not yet implemented?
At the prices they charge for the specs,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 5, 2022 at 2:25 am
[
Correct... but it didn't convert to FLOAT in other versions either (thank goodness for that!)... It converts numeric literals (constants) that have a value larger than the bounds...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 5, 2022 at 1:55 am
You simply can't constrain a column to NOT NULL if it contains NULLs. There has to be a value in every row of a NOT NULL column or one that...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 11:38 pm
SomeID doesn't have to have a value to have the FK placed on it. FK's are "if something, other than a NULL, is present, it has to be in that...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 10:42 pm
Is anything here part of ISO/IEC 9075:2016 (ANSI X3.135)? https://blog.ansi.org/2018/10/sql-standard-iso-iec-9075-2016-ansi-x3-135/
What parts of the SQL standard has Microsoft not yet implemented?
At the prices they charge for the specs, I'll never...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 10:36 pm
No need for the Dynamic SQL, the WHILE loop, or any of the other complexities that go along with those things.
Here's a sample "tbl_names" table that I made up for...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 10:15 pm
I have to say, in this case I would use a char/varchar column for room numbers, not an int. Even if the hotel guest rooms are all numeric,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 9:14 pm
That's a beautiful thing, Steve. I didn't know of anyone that had actually downloaded the public eval of 2022 and installed it. Thank you very much?
I was thinking that this...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 8:56 pm
I agree interviewers love to ask tricky questions.
Heh... wait for it...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 7:12 pm
I'm having an issue on 2016 and 2017... If you have 2019 or any version prior to 2016, would you run the following code, please, and let me...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 5:29 pm
I'm having an issue on 2016 and 2017... If you have 2019 or any version prior to 2016, would you run the following code, please, and let me...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 5:13 pm
I'm having an issue on 2016 and 2017... If you have 2019 or any version prior to 2016, would you run the following code, please, and let me know the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2022 at 4:41 am
Viewing 15 posts - 2,836 through 2,850 (of 59,086 total)