PASS Data Architecture VC presents Steve Simon–Challenges Designing Finance Data Warehouse
Steve Simon will join us on Thursday June 20th at noon central to help us understand some challenges with designing...
2013-06-16
575 reads
Steve Simon will join us on Thursday June 20th at noon central to help us understand some challenges with designing...
2013-06-16
575 reads
Please join the Business Analytics Virtual Chapter as Mark Tabladillo talks about Best Practices for building a Framework for Data...
2013-06-11
683 reads
From the tweets, it looks like there will be about 800 attendees sitting in on 11 different tracks with 5...
2013-05-17
519 reads
Thursday May 16th at noon central, we are going to be educated by MCM and past SQL Server MVP Robert...
2013-05-14
499 reads
I am pleased to be selected to present a session on Analysis Services at the Atlanta SQLSaturday this May 18th...
2013-05-06
555 reads
Join Mellissa Demsak (twitter – SQLDiva) for a review of what she rates as the best from PASS’s first attempt at...
2013-04-29
1,314 reads
Some Tuesday mornings I have bacon with eggs and an English muffin. Not today though. I am blogging about Why...
2013-04-09
467 reads
I saw Jessica Moss presenting at the PASS Summit a couple of years ago on Reporting Services. She has been...
2013-03-26
998 reads
I meet Steve this past November in Seattle at the PASS Summit. Reading his series on XMLA and Analysis Services...
2013-03-17
643 reads
Wednesday March 13th 2013, I have the pleasure in presenting to the local SQL Server User group in Baton Rouge,...
2013-03-03
715 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...
Comments posted to this topic are about the item Using CHOOSE()
Comments posted to this topic are about the item Re-Seeding a Broken Log Shipping...
Comments posted to this topic are about the item The DBA is Dead! Long...
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