SQL Saturday 99 – Confio Interview
Welcome to the seventh of a few sponsor interview posts from SQL Saturday 99. After reading Arnie Rowland’s (Blog |@ArnieRowland)...
2011-12-29
1,575 reads
Welcome to the seventh of a few sponsor interview posts from SQL Saturday 99. After reading Arnie Rowland’s (Blog |@ArnieRowland)...
2011-12-29
1,575 reads
How fitting that I should close out the A to Z series while I close out the year. We’ve finally...
2011-12-29
2,084 reads
The past few months I have been pretty busy. December is no exception to that. Between normal work, moonlighting as a general contractor on my own basement, and trying...
2011-12-29
8 reads
The past few months I have been pretty busy. December is no exception to that. Between normal work, moonlighting as...
2011-12-29
1,529 reads
I am proud to announce that we at Geniiius will be speaking at DDC 2012. DDC 2012 is a one...
2011-12-29
1,690 reads
I saw the following post from Andy Warren (blog | twitter), one of the creators of SQL Saturday. He was trying to...
2011-12-29
2,797 reads
The New Year is just around the corner. Every year I make a resolution. And every time I fail. That...
2011-12-29
2,321 reads
Here is a fresh set of diagnostic information queries for SQL Server 2008 and 2008 R2 for December 2011. Some...
2011-12-29
2,046 reads
Datacentre Edition is no longer available as a MS SQL Server 2012 RC0 candidate, Read MoreMS SQL Server 2012 RC0...
2011-12-28
723 reads
Results of the 2011 PASS Board of Directors election were officially announced this morning. I want to congratulate my friends...
2011-12-28
783 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