Commenting TSQL Scripts
If you have ever searched for “commenting in TSQL” scripts, I am sure that you’ve found hundreds or maybe even...
2010-07-29
1,773 reads
If you have ever searched for “commenting in TSQL” scripts, I am sure that you’ve found hundreds or maybe even...
2010-07-29
1,773 reads
In this quick blog, I want to show you one way of how to find out what indexes you have on a table...
2010-07-29
495 reads
Indexes play a huge role in the performance of a query. Without indexes, you very simple query to get the...
2010-07-29
1,005 reads
Blog Title: Checking Users AD Groups Using Windows CMD
Depending on your role in the organization, there may be a time...
2010-07-29
3,955 reads
Blog Title: Limiting Table Access for Reporting Part 2
In the first blog post of this series, I showed you how...
2010-07-29
582 reads
End users may have a need to do some form of reporting of data from source systems. Opening up the...
2010-07-29
465 reads
What are we talking about?
Recently Microsoft released a new version of SQL Server 2008 R2 called Parallel Data Warehouse Edition....
2010-07-29
800 reads
Ok, now that I have your attention this really should be titled the danger of not qualifying all objects, but...
2010-07-29
743 reads
I work for a very large company where divisions are spread out literally all over the world. There are many...
2010-07-28
925 reads
Introduction
Replication is the process of copying data between two databases on the same server or different servers on the same...
2010-07-28
31,946 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 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