Will You Vote?
Voting is one of the many privileges that I have as an American citizen. It’s a privilege that most Americans...
2013-09-23
580 reads
Voting is one of the many privileges that I have as an American citizen. It’s a privilege that most Americans...
2013-09-23
580 reads
According to Merriam-Webster the definition of grace is:
1a : unmerited divine assistance given humans for their regeneration or sanctification; b : a...
2013-05-30
1,257 reads
I have recently begun to contemplate pursuing the MCSA Certification. I have been working with SQL Server for almost 20...
2013-05-17
635 reads
“The Long and Winding Road” is one of my favorite Beatles songs, it reminds me of my dad, he was...
2013-05-14
579 reads
I presented on this topic at the TriadSQL User’s Group meeting on 3/26/13. I promised I would post my code/solutions,...
2013-03-29
2,162 reads
What a whirlwind last week was. There were so many sessions to attend and only one of me. I needed...
2012-11-12
743 reads
I have just recently changed employers and in doing so, I’ve changed my role from Data Architect to DBA/BI Developer. ...
2012-10-24
1,937 reads
Did you know that it’s election season for PASS? Did you know that you can pose questions to the potential...
2012-08-27
623 reads
I’m putting my money where my mouth is, with respect to my last blog post. I am officially a mentor...
2012-08-24
654 reads
My company has recently put forth an effort to hire fresh college graduates and interns. I think this is a...
2012-08-24 (first published: 2012-08-22)
1,750 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