Viewing 15 posts - 256 through 270 (of 59,069 total)
It's gotten to the point where I evaluate changes by determining how much harm the change causes or how little a required change brings to the table compared to the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 9, 2024 at 1:08 am
Just do a test.
SET STATISTICS TIME,IO ON:
Put code to be tested here.
SET STATISTICS TIME,IO OFF:
Do NOT use this method if any functions that contain the word BEGIN...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2024 at 6:51 pm
Using YEAR and MONTH Functions:
I'm going to seriously recommend NOT doing it that way. Use the Date Range method, instead.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2024 at 6:02 pm
You do realize that the addition of the new index requires space that might not have been available and that dropping the first NCI made a bunch of space available,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2024 at 5:51 pm
EDIT: Looks like Steve posted while I was working on replies. Leaving this reply here even though it overlaps with Steve's pose.
FOR and AFTER are identical in meaning.
https://learn.microsoft.com/en-us/sql/t-sql/statements/create-trigger-transact-sql#arguments
You're trigger is...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2024 at 5:42 pm
From the article:
And most people rarely upgrade their OSS. They get something that works and don't want to change. I get that, as I feel the same way...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2024 at 5:11 pm
You can simplify the WHERE clause in AlphaNumericOnly and AlphaOnly by taking advantage of the fact that upper and lower case letters differ only by the 6th bit, which...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2024 at 7:58 pm
I'm a little late here but great observation, Anthony. I'll have to give that a try.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2024 at 6:57 pm
...even Microsoft stuff has to go through a testing / peep process here.
From the looks of things, MS hasn't done a good job on QA since 2017.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2024 at 10:12 pm
Does Example 7 of the following article do it for you?
https://www.mssqltips.com/sqlservertip/2999/different-ways-to-find-sql-server-object-dependencies/
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2024 at 2:35 pm
Does example #7 in the article at the following link do it for you? You can add criteria to only consider stored procedures.
https://www.mssqltips.com/sqlservertip/2999/different-ways-to-find-sql-server-object-dependencies/
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2024 at 4:57 am
It will be funny because the column labels are 10 years different than the WHERE clauses
Tru dat!
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2024 at 6:24 pm
That other post can be found at the following link...
https://www.sqlservercentral.com/forums/topic/tracing-a-performance-issue
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2024 at 6:16 pm
Removed accidental dupe post.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2024 at 3:48 am
There's been some good things since 17 hit the streets. They did, however, break copy'n'paste. I have a special color (Red) that I use for ALL constants and a special...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2024 at 3:47 am
Viewing 15 posts - 256 through 270 (of 59,069 total)