New Logo Revealed
I’ve been pondering the creation of a logo for quite some time and I finally decided to go ahead with...
2018-07-17
229 reads
I’ve been pondering the creation of a logo for quite some time and I finally decided to go ahead with...
2018-07-17
229 reads
If you haven’t heard, Power BI is doing a world tour, eight cities in four months and Charlotte, NC is...
2018-07-17
255 reads
It’s been a bit slow in the US this week due to the American 4th of July holiday, but it’s...
2018-07-10 (first published: 2018-07-05)
3,481 reads
I am excited to announce that I have been selected to speak at SQL Saturday Baton Rouge (#749) on August...
2018-06-28
359 reads
I recently presented two sessions at Music City Tech and just received my feedback. I got great feedback and looks...
2018-06-22 (first published: 2018-06-11)
1,475 reads
Data Quality is a huge issue, especially now with more and more data being created daily. According to Micro Focus...
2018-06-20
281 reads
I am so excited to announce that I will be giving my Data Types Do Matter session for the SalemSQL...
2018-06-14
256 reads
When baseball players are called up to the Major League from the Minor League it’s referred to as getting “Called...
2018-06-06
287 reads
I know Nashville is most famous for Country music, but in the recent years, it has become home to more...
2018-06-05
289 reads
I am excited to announce that I have been selected to speak at Music City Tech held at Vanderbilt University...
2018-04-04
285 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