Consider this while doing any UPDATE
Trigger:
When you create trigger for insert and delete we will get two reference table as “inserted” and “deleted” respectively now...
2009-10-30
1,497 reads
Trigger:
When you create trigger for insert and delete we will get two reference table as “inserted” and “deleted” respectively now...
2009-10-30
1,497 reads
As if I needed more.
I’ll be sitting at the blogger table and blogging live (as live as I get) during...
2009-10-30
1,401 reads
The past couple of days we have had some fun with a TeamBuilding exercise by means of designing our Pumpkin...
2009-10-30
2,082 reads
I love visiting Seattle, even in November. Getting to catch up with old friends and meet new people is always...
2009-10-30
1,460 reads
I have had the pleasure of being a vendor, and technical support for both hardware and software products. I know...
2009-10-30
1,511 reads
Who are the people in your SQL neighborhood?
Stuart Ainsworth (Blog, Twitter), Brent Ozar (Blog, Twitter), and some other really bright...
2009-10-30
1,448 reads
I am not about to get into a theoretical discussion of whether certifications will benefit you in your career. I...
2009-10-30
1,453 reads
Kimberly and I went to the high risk doctor's office this morning for the ultrasound. Unfortunately, they realized very quickly...
2009-10-30
1,921 reads
I know there are a number of people heading to Seattle this weekend for the PASS Summit next week. I...
2009-10-30
1,625 reads
Well, not literally. I’m not going to run to Seattle from Denver, but I’ll be running at the Summit.
Last year...
2009-10-30
1,525 reads
By Steve Jones
Thanks to everyone that attended my sessions at VS Live San Diego yesterday. It...
By Steve Jones
I was creating a question on sp_readerrorlog and realized that this procedure is different...
By SQLPals
Why sys.fn_dblog Is Undocumented And Why It's Still There Why sys.fn_dblog...
Comments posted to this topic are about the item Implementing Type 4 Slowly Changing...
Comments posted to this topic are about the item The Disabled Index
Comments posted to this topic are about the item Server-Level Table sizes
I run this code on SQL Server 2022.
CREATE TABLE Drink
(
drinkid INT NOT NULL
CONSTRAINT DrinkPK PRIMARY KEY CLUSTERED,
drinkname VARCHAR(20),
rating NUMERIC(2, 1)
)
GO
INSERT INTO Drink
(
drinkid,
drinkname,
rating
)
VALUES
(1, 'Margarita', 4.5),
(2, 'Mojito', 4.3),
(3, 'Old Fashioned', 4.7),
(4, 'Martini', 4.4),
(5, 'Cosmopolitan', 4.2)
GO
ALTER INDEX drinkpk ON dbo.drink DISABLE
GO
SELECT * FROM dbo.Drink
GO
What is the result? See possible answers