You Are Allowed to Care About Whatever You Want
I wanted to write this because its often overlooked. I care about things that may not interest you, things that...
2011-08-16
576 reads
I wanted to write this because its often overlooked. I care about things that may not interest you, things that...
2011-08-16
576 reads
Micromanaging is one of those words that evokes an instant negative image. Certainly there are times when it happens, but...
2011-08-15
635 reads
This was the third SQLSaturday in South Florida and the third time I’ve attended, just too good an event to...
2011-08-15
734 reads
We’re having a PASS Board meeting and many of us will be staying for the event on Saturday (and an...
2011-08-12
678 reads
Today we have a guest editorial from Andy Warren that looks at commuting to work.
2011-08-11
318 reads
We have a few changes in the election process for PASS this year, one of them is that we have...
2011-08-11
652 reads
The annual Code Camp is coming up on October 1st in Tallahassee and our local SQL group is trying to...
2011-08-10
800 reads
Officially launched today, it’s been a project that took a while to bubble to the top, but we’ve done an...
2011-08-10
669 reads
Just a few quick updates.
First, on the SQLSaturday site we’ll be shortly rolling out an updated logo and layout for...
2011-08-09
633 reads
I’m going to ramble today. This is a complex topic and I think you’ll see by the end that I...
2011-08-08
918 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