The FILL FACTOR impact on the indexes fragmentation
This is a short post that is considering the indexes fill factor impact on the fragmentation. Analysis of indexes is...
2015-04-01
402 reads
This is a short post that is considering the indexes fill factor impact on the fragmentation. Analysis of indexes is...
2015-04-01
402 reads
As I mentioned in my storage benchmarking post, storage performance is one of the critical infrastructure components underneath a mission-critical...
2015-04-09 (first published: 2015-04-01)
18,421 reads
It seems that Microsoft has finally gotten tired of all the jokes about the word “performant” or using “ask” as...
2015-04-01
496 reads
This is a short post that is considering the indexes fill factor impact on the fragmentation. Analysis of indexes is...
2015-04-01
187 reads
Earlier today, the fine folks at the F. Oobar Corporation released a revolutionary product: a universal data integration utility. This...
2015-04-01
742 reads
This is one of those posts which is due for a long time. I was really excited when Microsoft announced...
2015-04-08 (first published: 2015-04-01)
6,511 reads
2015-03-31
1,523 reads
I ran across a post on microservices recently and was intrigued. I always like the idea of loosely coupled, independent...
2015-03-31
2,791 reads
April 1, 2015 – I am delighted to take part in the April
Fool’s Promotion by Publisher Apress, who are
featuring some of...
2015-03-31
1,590 reads
As I mentioned in my original post, Exploring Excel 2013 as Microsoft’s BI Client, I will be posting tips regularly...
2015-04-08 (first published: 2015-03-31)
7,889 reads
By Steve Jones
This is timely, as I’m currently on a boat in the Adriatic taking a...
You can find the slides and SQL scripts for my session “Spice up your...
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
Comments posted to this topic are about the item Using CHOOSE()
Comments posted to this topic are about the item Re-Seeding a Broken Log Shipping...
Comments posted to this topic are about the item The DBA is Dead! Long...
We have this code that sets some status values and then queries them using the CHOOSE() function in SQL Server 2025.
CREATE TABLE Status
(
StatusID INT,
StatusDescription VARCHAR(20)
);
GO
INSERT dbo.Status
(
StatusID,
StatusDescription
)
VALUES
(0, 'Uncategorized'),
(1, 'Active'),
(2, 'Inactive'),
(3, 'Temp');
GO
SELECT CHOOSE(StatusID, 'Unknown', 'Active', 'Inactive', 'Temporary')
FROM Status;
When the SELECT runs, what is returned? See possible answers