SQLSaturday Baton Rouge #628 2017
Come join around 500+ attendees and speakers learning and networking at the LSU College of Business – Business Education Complex on...
2017-07-21
530 reads
Come join around 500+ attendees and speakers learning and networking at the LSU College of Business – Business Education Complex on...
2017-07-21
530 reads
Come join around 500+ attendees and speakers learning and networking at the LSU College of Business – Business Education Complex on Nicholson Drive Extension in Baton Rouge on Saturday...
2017-07-21
9 reads
Well, it is almost that time of the year again. Elections for the PASS Board.
This is a great way to...
2017-06-19
511 reads
Well, it is almost that time of the year again. Elections for the PASS Board. This is a great way to show your passion for this wonderful community...
2017-06-19
17 reads
I have the honor of being selected to speak in Pensacola and Houston this month. Pensacola has been a great...
2017-06-01
582 reads
I have the honor of being selected to speak in Pensacola and Houston this month. Pensacola has been a great place for SQLSaturday and it is no different than...
2017-06-01
14 reads
I just installed the Power BI report server following @SQLDusty YouTube 13 minute Step-by-Step video. You have to download both...
2017-05-30 (first published: 2017-05-18)
2,325 reads
I just installed the Power BI report server following @SQLDusty YouTube 13 minute Step-by-Step video. You have to download both the Power BI Report Server and a new Power...
2017-05-19
36 reads
Yesterday was the first day to submit sessions for the PASS Summit 2017 in Seattle on Oct 30th thru Nov...
2017-05-11
556 reads
Yesterday was the first day to submit sessions for the PASS Summit 2017 in Seattle on Oct 30th thru Nov 3rd. Oct 30th and 31st are for pre-conference sessions...
2017-05-11
10 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