D-Day, Family, Vets, and Life
Today is the 70th anniversary of D-Day, a day worth remembering and celebrating to be sure. I like that we...
2014-06-06
392 reads
Today is the 70th anniversary of D-Day, a day worth remembering and celebrating to be sure. I like that we...
2014-06-06
392 reads
If you haven’t noticed by now I’ve been writing quite a few questions of the day for SQLServerCentral. It started,...
2014-06-04
338 reads
Interesting day yesterday. A spirited discussion on Twitter, a challenging post from candidate Mark Broadbent, and a couple good threads...
2014-06-04
653 reads
Access Granted or Not? is my latest Question Of The Day and I think it represents a pretty good troubleshooting...
2014-06-03
476 reads
I was interested to see that the online voting system has changed this year to one powered by Simply Voting....
2014-06-03
412 reads
I haven’t posted much on books lately, here are two that are different:
Inside the Food Network. Definitely some gossip, but...
2014-06-03
354 reads
2014-06-03
1,977 reads
I submitted my application for the NomCom on May 21 and after the review process we’re now in “campaign week”....
2014-06-02
660 reads
As you can see my third attempt on Fiverr didn’t work out great. I asked for something bold/high contrast and...
2014-05-31
1,068 reads
After doing some local exploring of the idea of delivering certificates of completion I don’t think it’s enough of a...
2014-05-30
1,251 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