Common SQL Server – Not Indexing FKs
This series looks at Common SQL Server mistakes that I see many people making in SQL Server.
Foreign Keys
It’s way too...
2010-10-20
1,314 reads
This series looks at Common SQL Server mistakes that I see many people making in SQL Server.
Foreign Keys
It’s way too...
2010-10-20
1,314 reads
This shirt was specifically requested by an online friend who shall remain nameless (his name rhymes with “Duck Hoodie”). Another...
2010-10-20
1,102 reads
This past weekend, my wife and I travelled down to Orlando for SQL Saturday 49. I wasn't planning on presenting,...
2010-10-20
415 reads
Tyler Chessman of Microsoft has started a Business Intelligence Users Group in Houston. The group will meet online and onsite quarterly. ...
2010-10-19
1,334 reads
I seldom lose things; I just cannot find them as quickly as I’d like. This is true for keys, tools, and...
2010-10-19
1,684 reads
This is what Task Manager looks like in Windows Server 2008 R2 when you restart the SQL Server Service. This...
2010-10-19
625 reads
In almost 12 weeks time, I’m embarking on a challenge of a lifetime. I’m scaling Africas highest peak, Mount Kilimanjaro...
2010-10-19
464 reads
Over the past two years I have acquired quite a few database servers that I am responsible for. We have...
2010-10-19
475 reads
I’ve got a couple of more sessions before the big two at the PASS Summit. Tomorrow night, October 20th, I’ll...
2010-10-19
715 reads
Well I am sure most of you noticed that I haven't posted an MDX puzzle in some time. After much...
2010-10-19
581 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