Making Ginger Ale
Probably further off topic than usual, but you may find interesting anyway. I'm a fan of Alton Brown on Good...
2009-02-03
440 reads
Probably further off topic than usual, but you may find interesting anyway. I'm a fan of Alton Brown on Good...
2009-02-03
440 reads
It's been busy since my last update, lots of stuff to work on! I probably won't get it all in one post, but I'll try to hit the highlights. The main event over the past two weeks was my first board meeting in Seattle. I arrived Monday afternoon
2009-02-02
1,001 reads
If you're organizing a first time community event like SQLSaturday finding speakers is one of about a hundred tasks, so...
2009-02-01
1,103 reads
The fifth annual South Florida Code Camp is being held on Feb 7th. They've got a huge schedule of sessions,...
2009-01-29
1,291 reads
SQLSaturday #10 was held January 24, 2008 in Tampa at the Kforce Building. Attendance was about 175, down slightly from the year before. Overall the event turned out well; 36 sessions, everyone got fed, no major logistical challenges.
2009-01-29
662 reads
It's been busy since my last update, lots of stuff to work on! I probably won't get it all in...
2009-01-28
1,448 reads
Forgot I had this, a friend had sent it to a while back as something I might blog about. Mike...
2009-01-28
1,369 reads
If you could list all the reasons I work, the number one reason would be to support my family. My...
2009-01-27
1,606 reads
I've mentioned before that Jeff Duntemann is one of my favorite bloggers, and I thought I'd show why I enjoy...
2009-01-26
1,621 reads
SQLSaturday #10 was held January 24, 2008 in Tampa at the Kforce Building. Attendance was about 175, down slightly from...
2009-01-25
1,314 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