Forum Replies Created

Viewing 15 posts - 16 through 30 (of 204 total)

  • Reply To: SQL Server 2025 Backup Compression Algorithm

    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...

    God is real, unless declared integer.

  • Reply To: The OUTPUT Clause for INSERT and DELETE Statements

    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...

    God is real, unless declared integer.

  • Reply To: A Big PK

    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,...

    God is real, unless declared integer.

  • Reply To: Think LSNs Are Unique? Think Again - Preventing Data Loss in CDC ETL

    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.

    • session 1 uses 0x001 and  is very slow...

    God is real, unless declared integer.

  • Reply To: MySQL’s BLACKHOLE Storage Engine: The Odd Feature I Wish SQL Server Shipped With

    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...

    God is real, unless declared integer.

  • Reply To: Who am I?

    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...

    God is real, unless declared integer.

  • Reply To: PRs Are Like Trouble Tickets

    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...

    God is real, unless declared integer.

  • Reply To: Using table variables in T-SQL

    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...

    God is real, unless declared integer.

  • Reply To: Detecting Multiple Changes

    I doubt that anybody (besides some old, long retired boomer nerds that implented it decades ago) are using COLUMNS_UPDATED(), particularly since

    • you could write  UPDATE(col1) OR UPDATE(col2) OR UPDATE(col3) to...

    • This reply was modified 1 years, 1 months ago by Thomas Franz.

    God is real, unless declared integer.

  • Reply To: Working with Indexes on SSMS

    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...

    God is real, unless declared integer.

  • Reply To: Page Compression, Unique Identifiers and Speed

    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...

    God is real, unless declared integer.

  • Reply To: The Trigger Updated Column(s)

    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...

    • This reply was modified 1 years, 3 months ago by Thomas Franz.

    God is real, unless declared integer.

  • Reply To: Is SQL Server Feature Complete?

    Johan Bijnens wrote:

    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...

    • This reply was modified 1 years, 5 months ago by Thomas Franz.

    God is real, unless declared integer.

  • Reply To: Is SQL Server Feature Complete?

    aroggeband-815867 wrote:

    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...

    God is real, unless declared integer.

  • Reply To: Is SQL Server Feature Complete?

    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...

    God is real, unless declared integer.

Viewing 15 posts - 16 through 30 (of 204 total)