Monday Coffee 2017-01-23
I like to think of myself as a fairly hardworking, motivated person. However I recently met someone who regularly gets...
2017-01-23
315 reads
I like to think of myself as a fairly hardworking, motivated person. However I recently met someone who regularly gets...
2017-01-23
315 reads
Been an interesting week! My site has had the most views ever (so chuffed) and during all that I’ve been...
2017-01-20
521 reads
Last week I published this post about something a colleague noticed when playing around with a SQL Server instance running...
2017-01-20 (first published: 2017-01-17)
2,871 reads
I’ve been a scribbler for as long as I can remember, in fact I’m not sure that I write everything...
2017-01-16
349 reads
Ahh, is it really Friday the 13th?!! So before Jason gets me, I’ll be reading…
A whole day of PowerShell & SQL
Join...
2017-01-13
348 reads
Bit of fun this week with something that a colleague of mine noticed when playing around with SQL Server on...
2017-01-11
1,014 reads
I’m almost back into the swing of things now after the Xmas break, that holiday feeling has just about left...
2017-01-09
392 reads
Happy New Year to all of you out there! I know, I know it’s a week late but hey I’ve...
2017-01-06
341 reads
It was my office Xmas party last night so whilst recovering on my settee, I’ll be reading:-
The Most Important Role...
2016-12-17
353 reads
Short one this week as it’s the usual madness on the lead up to Xmas!
One of the cool things that...
2016-12-14
725 reads
When I put together the invitation for T-SQL Tuesday #202, I wasn't sure what...
By Steve Jones
My life has some crazy travel stretches for sure. Between speaking, office visits, customer...
In Part 1, we saw how ‘Vamana’ represents vectors as nodes, connects them with...
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