2011 PASS Summit–Report #2
Starting the keynote on Wednesday, Bill Graziano talking about Kilt Day, quite a few of the bloggers wearing kilts (no,...
2011-10-13
603 reads
Starting the keynote on Wednesday, Bill Graziano talking about Kilt Day, quite a few of the bloggers wearing kilts (no,...
2011-10-13
603 reads
I’m writing this while I listen to the keynote at the PASS Summit, thinking about some of the things I’ve...
2011-10-13
660 reads
Wednesday morning. I’m at the blogger table waiting on the opening day keynote. LOTS of people here. Summit attendance is...
2011-10-12
702 reads
The 2012 South Florida Code Camp is scheduled for February 11, 2012 at Nova University in Ft Lauderdale, and the...
2011-10-10
660 reads
The GiveCamp in Orlando needs volunteers to convert 25 reports from Crystal to Reporting Services. Food is provided, just need...
2011-10-06
548 reads
I mentioned this in my SQLFun post last night and wanted to call out separately here, I typically do a...
2011-10-06
798 reads
The annual PASS Summit is definitely about technology and learning, but if that’s all you get out of it you’re...
2011-10-06
909 reads
I’m running through my mental (and some written) pre-travel checklist, tickets, clothes, a few odds and ends, trying to be...
2011-10-05
635 reads
I saw this post about Leonard Nimoy doing his final convention appearance this week. He’s 80, I would guess doesn’t...
2011-10-05
562 reads
My friend, author, and networking guru Don Gabor is back at the Summit for the third year in a row,...
2011-10-04
865 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