Installing WordPress
Last week I posted about Picking a Blog Platform on some of the process that lead to me moving to...
2010-01-12
754 reads
Last week I posted about Picking a Blog Platform on some of the process that lead to me moving to...
2010-01-12
754 reads
Not sure if it went to the entire PASS mailing list or just those that have attended a Summit, but...
2010-01-12
669 reads
Posting goals online is great as long as you meet your goals, can be something less than great if you...
2010-01-12
800 reads
One of my big projects this year is to build a speaker bureau, so in this post I’m going to...
2010-01-11
758 reads
The Billion Dollar Game: Behind the Scenes of the Greatest Day In American Sport – Super Bowl Sunday
Another from the new...
2010-01-08
632 reads
One of our goals for oPASS in 2010 is to host 12 meetings instead of our usual 6. That doubles...
2010-01-08
377 reads
Brian Knight and the JSSUG team will be doing their third SQLSaturday this year on May 8, 2010, at the...
2010-01-08
321 reads
I’ll be heading to Tampa the afternoon of the 22nd for the speaker party, and then presenting Social and Not...
2010-01-07
329 reads
For the past couple years I’ve been using Community Server for blogging, only because that’s the platform that’s been part...
2010-01-06
1,157 reads
Posting goals online is great as long as you meet your goals, can be something less than great if you...
2010-01-05
813 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