Looking for the Next RSS Reader
I've been using Snarfer for a while now, preferring an offline reader so that I use a few spare moments...
2009-05-25
743 reads
I've been using Snarfer for a while now, preferring an offline reader so that I use a few spare moments...
2009-05-25
743 reads
I just finished up my third coaching call with Don Gabor (Part 1, Part 2, Part 3, Part 4) and I think I'm gaining a little ground, but still finding that I have a lot to learn.
2009-05-25
813 reads
Today in the United States we celebrate Memorial Day, the day we remember American casualties of any military action. Though...
2009-05-24
568 reads
The Making of the Atomic Bomb by Richard Rhodes ($14 at Amazon) was a book I picked up for travel,...
2009-05-21
684 reads
I've been reading What Got You Here Won't Get You There by Marshall Goldsmith over the past couple months, and found it to be a useful book. My one sentence summary is that it teaches without the ability to be introspective and let go of your pride,...
2009-05-21
1,793 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-05-20
604 reads
I just finished up my third coaching call with Don Gabor (Part 1, Part 2, Part 3, Part 4) and...
2009-05-20
683 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-05-19
747 reads
We'll be meeting at Chipotle in Altamonte Springs on May 23, 2009 at 11:30 am to discuss plans for the...
2009-05-19
559 reads
For the past couple years I've been using a Targus (I think the model 300 right now) and they've been...
2009-05-18
900 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