Smart As A Bear?
I got this at Hobby Lobby for $7 on sale, it’s about the width of a license plate and a...
2014-05-14
315 reads
I got this at Hobby Lobby for $7 on sale, it’s about the width of a license plate and a...
2014-05-14
315 reads
I recently ran across the warrant canary FAQ from the Electronic Frontier Foundation (EFF). The concept is simple – put up...
2014-05-14
555 reads
2014-05-14
2,249 reads
On September 25, 2014 we’re pleased to have David Pless presenting an all day seminar on Enterprise Management and Monitoring...
2014-05-13
373 reads
If you deal with security and especially credit cards it’s worth spending an hour or two to read the 2014...
2014-05-13
444 reads
The trip didn’t start smoothly for this one. Wed night I was really sick with some kind of stomach flu....
2014-05-12
436 reads
The most recent one I wrote was a “question from error message” pattern. An experienced DBA should get it easily,...
2014-05-12
364 reads
I’m looking forward to returning to Jacksonville after missing a year (or two?) to speak at SQLSaturday #298. I’m driving...
2014-05-09
341 reads
If you’re wondering who the mystery speaker is – it’s me! I’ll be doing two presentations at Magic Pass on May...
2014-05-08
343 reads
I had an SSIS package fail in a script task this morning. As part of the why process I opened...
2014-05-07
350 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