Book Review: First Man: The Life of Neil A. Armstrong
First Man: The Life of Neil A. Armstrong ($14 @ Amazon) was a good book, enjoyed reading it. Some interesting tidbits...
2009-06-11
362 reads
First Man: The Life of Neil A. Armstrong ($14 @ Amazon) was a good book, enjoyed reading it. Some interesting tidbits...
2009-06-11
362 reads
Patrick Leblanc is the event lead for SQLSaturday #17 coming up soon on August 1st. Patrick emailed me just a...
2009-06-11
549 reads
I am at times an early adopter of technology. I like newer, better tools, but they have to be something...
2009-06-10
417 reads
As background, I've never been a fan of multiple instances. It's a useful thing to have available and I use...
2009-06-09
398 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-06-09
343 reads
As I've related previously (Part 1, Part 2, Part 3, Part 4, Part 5) I've been working author and speaker...
2009-06-09
336 reads
Scott Klein still needs a few more speakers for the first ever SQLSaturday in Miramar (basically Miami). So far Jeff...
2009-06-08
355 reads
My friend Bayer White is the event lead for the fifth annual Jacksonville Code Camp being held on August 29th...
2009-06-08
299 reads
I'm just back from the event and it turned out very well, just over 170 attendees attending their choice of...
2009-06-08
906 reads
Just received these from Karla:
Expectations: 0 Did not Meet, 4 met, 6 Exceeded.
Overall quality: Zero 1's, Zero 2's, Zero...
2009-06-08
301 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