PASS Summit is almost here
This is my second trip to Seattle for the annual bash. Last year I was a newbie. I did not...
2011-10-07
1,476 reads
This is my second trip to Seattle for the annual bash. Last year I was a newbie. I did not...
2011-10-07
1,476 reads
There is an advice out there that says never to mix business with pleasure. It is not true in all...
2011-09-21
2,014 reads
The SQL Pass community summit is just around the corner. There is so little time and so much to do....
2011-09-07
1,402 reads
I was trying to write an article for a long time. Every time I start writing one, I would put...
2011-09-01
1,254 reads
The first time I did any volunteering work for PASS was last year at the Summit. I enjoyed doing it....
2011-08-15
1,677 reads
Every year Redgate has a competition to find the most
exceptional DBA of the year. This year too they are conducting....
2011-07-27
1,622 reads
When we (Bill Wunder and me) started our user group, the first person we invited to sign up to our...
2011-05-06
1,861 reads
This is the last part of my confession series since this is showing me only in negative light. I wish...
2011-04-19
1,269 reads
After reading this confession, I am sure almost every DBA is going feel a churn in their stomach. They are...
2011-04-14
2,066 reads
How I caused a fifteen minutes of blocking.
This particular incident happened when I joined this company. I joined this company...
2011-04-12
1,351 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...
Telp/Wa 628218200203 Jl. Batu Ceper No.18 A-B, RT.1/RW.2, Kb. Klp., Kecamatan Gambir, Kota Jakarta...
Telp/Wa 628218200233 Komplek Apartemen Grand Kartini, Ruko. 18, Jl. Kartini Raya No.57, RT.3/RW.2, Kartini,...
Telp/Wa 628217555651 Wisma 46 Lantai Dasar, Jln. Jend. Sudirman Kav. 1, RT.5/RW.3, Senayan, Kec....
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