Thanksgiving This Year, Stress, Cooking Something New, and Others
I know Thanksgiving has some deeper meanings, but at one level it’s all about the food. Food is a good...
2009-11-25
611 reads
I know Thanksgiving has some deeper meanings, but at one level it’s all about the food. Food is a good...
2009-11-25
611 reads
It is said that you should not give direct table access (even select permission) to a user or group. But...
2009-11-25
550 reads
I had to run our weekly conference call this week. My boss is out of the office, but he’s been...
2009-11-25
744 reads
I have noticed that one of the best way to learn about a certain topic is to write an article...
2009-11-25
704 reads
I saw a post recently about the tempdb being overly large and causing issues for a user. The person was...
2009-11-25
2,283 reads
I'm looking over the comments about DBAs and local Administrator rights and I noticed an interesting trend: no one discussed...
2009-11-25
2,608 reads
Here is the latest version of my Diagnostic Information Queries for SQL Server 2008. Running these queries will give you...
2009-11-24
2,444 reads
Earlier this week I posted Part 1 and Part 2, today I want to wrap up by thinking about how...
2009-11-24
570 reads
Virtually all successful DBAs I know put a lot of focus on education, and the best way to make it...
2009-11-24
542 reads
What’s the best join type for a query? Should we aspire to seeing nested loop joins in all our queries?...
2009-11-24
986 reads
By Steve Jones
Thanks for attending my sessions. Resources below: Slides: Using Data API Builder GitHub repo: ...
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...
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