Viewing 15 posts - 1 through 15 (of 191 total)
For the sake of completeness:
To get the original string, you need to use
SELECT CONVERT(VARCHAR(100), BASE64_DECODE(@encoded))
which will return 'Hello SQL Server 2025!'
February 2, 2026 at 12:31 pm
It's nice to have such a tool in the toolbox (just in case), but I find it hard to find a real use case.
Maybe to compare public names as for...
January 16, 2026 at 3:59 pm
From the conclusion in the original article:
Keep in mind to delete all existing target backup files before you launch the next backup statement or backup job using a new compression...
January 8, 2026 at 8:59 am
Use the OUTPUT Inserted.* INTO #tmp on an INSERT when you need the IDENTITY / NEW_ID / SEQUENCE values for the new records (e.g. for further processing / creating referencing...
January 5, 2026 at 10:47 am
Before you all add now 16 other columns to your PK, please remind that you still must not have more than 900 bytes in a clustered index 🙂
Clustered Index:
Msg 1944,...
December 16, 2025 at 5:28 pm
I'm not sure, if a check for >= @start_lsn would work, when there are multiple parallel inserts, each within its own session
E.g.
December 16, 2025 at 5:12 pm
Well, MSSQL has several mechanics that can do something similar.
If you want to run a huge SELECT but don't care about the results open the Query Options go to Results...
November 11, 2025 at 10:29 am
When you want it 100% correct, you should use ORIGINAL_LOGIN().
A sysadmin has the privilege to inpersonate another account (I use this sometimes to check permissions).
And only ORIGINAL_LOGIN() would return my...
October 6, 2025 at 8:42 am
When you need to change an old procedure for the first time and decide to format it or make some other cosmetic changes, to this stuff first and check it...
October 1, 2025 at 8:52 am
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
Viewing 15 posts - 1 through 15 (of 191 total)