Viewing 15 posts - 1 through 15 (of 182 total)
IS DISTINCT FROM or its counterpart IS NOT DISTINCT FROM are added in SQL 2022 and are very handy when comparing columns that may contain NULL
So instead of a slow
WHERE...
September 10, 2025 at 11:10 am
I doubt that anybody (besides some old, long retired boomer nerds that implented it decades ago) are using COLUMNS_UPDATED(), particularly since
August 27, 2025 at 8:26 am
Seems to be an article based primary on the output of an AI - and even the caption of the article is wrong, since SSMS is just the GUI but...
August 7, 2025 at 8:10 am
The question is incorrectly formulated.
An INSERT on the end of a table (as with a clustered identity column) would usually just add new pages, while inserting into a table with...
August 6, 2025 at 8:00 am
I wonder, if someone is really using the COLUMNS_UPDATED() function - it is way to complex for 99% of the scenarios particularly when you need to shuffle bits and had...
June 11, 2025 at 9:52 am
How about having SQL Server analyse and intelligently propose new indexes, based on missing indexes information in the plan cache or Query Store.
No, you really don't want this...
April 30, 2025 at 7:59 am
In a world with changing requirements, something is only feature complete until someone finds new use-cases.
I really wonder, why nobody ever has tried (or better was sucessfull) of running...
April 29, 2025 at 5:17 pm
How can something be called feature complete, when it has a feature, but it is still clumsy? Is a person with a crippled limb "feature complete"?
Examples: see Brent Ozars 1st...
April 28, 2025 at 11:38 am
Vote for DB-First too - as long it are additions to the database, e.g. new columns or tables etc. As long you provide good default values (for new columns), the...
April 16, 2025 at 2:06 pm
I think this is an AI generated article that contains lots of failures posted by a person with no real knowledge that was not even willing to test the results...
March 26, 2025 at 9:05 am
you can speed your WHILE loops up, when you simply do
WHILE 1 = 1 -- endless loop
BEGIN
UPDATE TOP (@batchsize) ... WHERE ...
...
March 26, 2025 at 8:56 am
Regarding to the costs of local storage:
On "my" SQL Server we bought four 16 TB SSD drives last year (there were no more internal spots free) that can store the...
March 10, 2025 at 10:09 pm
I know a little "prompt" tool that could help here ;), that being said, I hate magic numbers more than nulls.
Querying for GETDATE() BETWEEN valid_from AND ISNULL(valid_to, '20991231') is...
February 28, 2025 at 5:12 pm
Allowing no NULL in valid_from / valid_to seems to be a good idea. But implement it with a DEFAULT = '18991231' on BOTH columns (as at one of my previous...
February 28, 2025 at 8:45 am
I don't see the need for this undocumented command for this case (attaching a file). In reality it would cause more problems that it solves.
The command for attaching a database...
January 27, 2025 at 4:45 pm
Viewing 15 posts - 1 through 15 (of 182 total)