Blog Post

Error Log:

Following steps happened when sql server starts… we can see that in error log::
1. Build of sql server and...

2009-12-25

675 reads

Blog Post

Merry Xmas 2009

Hope you’re enjoying a break from the routine and spending quality time with family. Xmas for me is a time...

2009-12-24

684 reads

Blog Post

One Hit Wonders of the 80’s

Happened to channel surf across this on TV, found the list - http://blog.vh1.com/2009-04-01/100-greatest-one-hit-wonders-of-the-80s-read-the-list-2/. Many of the links seem to point to...

2009-12-24

833 reads

Blogs

Using the Data API Builder–VS Live San Diego Resources

By

Thanks for attending my sessions. Resources below: Slides: Using Data API Builder GitHub repo: ...

Running a Local LLM On Your Laptop Resources

By

Thanks to everyone that attended my sessions at VS Live San Diego yesterday. It...

Differences Between xp_readerrolog and sp_readerrorlog: #SQLNewBlogger

By

I was creating a question on sp_readerrorlog and realized that this procedure is different...

Read the latest Blogs

Forums

Having some performance issues with linked server query

By LearningDBA

When I run my query from DW, which uses a linked server, it times...

Implementing Type 4 Slowly Changing Dimensions in SQL Server

By Dinesh Asanka

Comments posted to this topic are about the item Implementing Type 4 Slowly Changing...

The Disabled Index

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Disabled Index

Visit the forum

Question of the Day

The Disabled Index

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