gdpr - panic part 1
GDPR is coming (or if you are reading this in a few weeks then gdpr is here, what do you...
2018-02-01
71 reads
GDPR is coming (or if you are reading this in a few weeks then gdpr is here, what do you...
2018-02-01
71 reads
GDPR is coming (or if you are reading this in a few weeks then gdpr is here, what do you...
2018-02-01
81 reads
We’ve now got ourselves a shiny new YouTube channel at UndercoverTV.
We’ll be using this to host our monthly podcasts as well...
2018-02-01
401 reads
vs.
The week of SQLSaturday Nashville would prove to be a most eventful week. Monday I would be on my work...
2018-02-01
133 reads
I met Tom Roush for the first time around 9 years ago – at a PASS Summit. If I recall right...
2018-02-01
700 reads
If like me you thought “Hey, it’s a new feature, I can finally create reports in powerbi.com service and then...
2018-02-01
974 reads
Stress everywhere, user wants everything "Para ayer"Photo by Bernard Goldbach
If you are like me, and have SQL Server instances with...
2018-02-01
606 reads
Intro
I’ve written a couple of article about IF & SWITCH in DAX over the past few years. Recently I noticed that...
2018-01-31
153 reads
SSMS provides an Activity Monitor, a process that displays various information about what all is going on with the instance....
2018-01-31
801 reads
I work for Redgate and write about products. I’ve got a series of SQL Prompt posts here on little things...
2018-01-31
1,578 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