SQL Treeo

Blog Post

Finding Missing indexes

Situation SQL Server registers every missing index. Here is how you retrieve that information from the missing index DMV’s [crayon-5c335dbc1c266788449988/]...

2018-07-07

391 reads

Blogs

Adding SQL Server 2025 to my Laptop

By

I wanted to do some testing of SQL Server 2025 on my laptop. I...

SQL Server Backups: The Basics

By

If you’re responsible for a SQL Server instance, you need working, consistent backups. Not...

Why DBAs Still Need to Know the Foundations of SQL Server

By

Over the years, I’ll admit, SQL Server has come a long way in making...

Read the latest Blogs

Forums

Question about Data Warehouse Management

By Lord Slaagh

Hello SSC, Wishing everyone happiness and health and hope you are all doing well!...

Considering READPAST Hint for DELETE Operations – Lock Contention Analysis

By abdalah.mehdoini

Salut l'équipe, Lors de l'exécution parallèle d'opérations DELETE sur la table [YourTableName], j'ai observé...

Can You Ask for a Raise?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Can You Ask for a...

Visit the forum

Question of the Day

A Big Updated Columns List

I have this table in SQL Server 2022:

CREATE TABLE CustomerLarge
  (CustomerID               INT NOT NULL IDENTITY(1, 1) CONSTRAINT CustomerLargePK PRIMARY KEY CLUSTERED
 , CustomerName             VARCHAR(20)
 , CustomerContactFirstName VARCHAR(40)
 , CustomerContactLastName  VARCHAR(40)
 , Address                  VARCHAR(20)
 , Address2                 VARCHAR(20)
 , City                     VARCHAR(20)
 , CountryCode              CHAR(3)
 , Postal                   VARCHAR(20)
 , creditlimit              INT
 , discount                 NUMERIC(4, 2)
 , lastorderdate            DATETIME
 , lastorderamount          NUMERIC(10, 2)
 , lastordercontact         VARCHAR(20)
 , created                  DATETIME
 , modified                 DATETIME
 , modifiedby               VARCHAR(20)
 , statusid                 INT
 , active                   BIT
 , customersize             INT
 , primarysalesid           INT);
GO
If I check the columns_updated() function return in a trigger, what is the data returned?

See possible answers