Alas, Poor Snapshot, I Knew Him Well (Question Of the Day)
My latest question of the day is up, this one called Alas, Poor Snapshot, I Knew Him Well. If you’ve...
2014-03-20
506 reads
My latest question of the day is up, this one called Alas, Poor Snapshot, I Knew Him Well. If you’ve...
2014-03-20
506 reads
If you’ve followed my writing for a while you’ll know I’m a fan of translucency (transparency) in most things business....
2014-03-20
527 reads
2014-03-20
2,310 reads
This may not be the exact model, but I bought 2 First Alert detectors at Costco for $23. Not a...
2014-03-19
674 reads
I’ve been thinking for a while about what to submit for this year. I knew I wanted to have one...
2014-03-19
637 reads
That’s just one of about a hundred great lines from episode 1 of Farmed and Dangerous. A company with the...
2014-03-19
611 reads
You may have seen these minuteKey boxes at your local home supply store (Lowes has it near me) that let...
2014-03-18
736 reads
I’ll be attending the Orlando Code Camp this weekend. I know it says “code”, but there is a SQL Server...
2014-03-18
531 reads
Almost time for another meeting! This month Rodney Landrum is presenting Data Analytics and the DBA – Using PowerView to Uncover...
2014-03-17
516 reads
I wrote Write The Perfect Question (Of The Day) last week and yesterday dropped a note here about my latest...
2014-03-13
474 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 Gedung Sutrado, Jl. Kenari 2 No.5 Lt. 1, RT.2/RW.3, Kenari, Kec. Senen,...
Telp/Wa 628218200203 Jl. Biak No.44 AB, RT.8/RW.11, Cideng, Kecamatan Gambir, Kota Jakarta Pusat, Daerah...
Telp/Wa 628217555651 Gedung Plaza Bank Index Ground, Jl. M.H. Thamrin No.57 Floor Suite GF-21,...
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