Help Set Recommendations for SSAS Counters in PAL
First, if you haven’t tried PAL yet, I highly recommend downloading it from CodePlex and giving it a try. You...
2010-11-15
902 reads
First, if you haven’t tried PAL yet, I highly recommend downloading it from CodePlex and giving it a try. You...
2010-11-15
902 reads
Thursday ended with a ‘Meet the Board’ meeting where attendees could come ask the Board questions or present ideas. It...
2010-11-15
740 reads
Quick recap of yesterday afternoon: blur! I know I did stuff, but the pace is brisk and I’m just keeping...
2010-11-12
550 reads
Started the day with a work call and some email, then down to Top Pot with Ron Dameron and Aaron...
2010-11-10
664 reads
I’m writing this Wednesday morning, and it’s hard to describe the feeling of speed that comes with being here this...
2010-11-10
518 reads
I’m writing this on Tuesday morning, Monday was a blur. I awoke at 4 am, finally decided that sleep wasn’t...
2010-11-09
635 reads
My day started at 5:15 to get moving for the airport. Arrived right at 2 hours early to find that...
2010-11-09
541 reads
Started my day by going up to the club floor for the continental breakfast, met Mark Souza on the elevator...
2010-11-09
571 reads
I wrote the editorial asking what people would have been if they had been born 100 years earlier. It’s a...
2010-11-09
457 reads
There’s no doubt that the PASS Summit is about learning. In just a few days you’ll max out your learning...
2010-11-06
714 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