Upcoming PASS Performance Virtual Chapter Presentation
I’ll be doing an introductory level presentation on statistics for the Performance VC on September 7th, details and the LiveMeeting...
2010-08-30
1,677 reads
I’ll be doing an introductory level presentation on statistics for the Performance VC on September 7th, details and the LiveMeeting...
2010-08-30
1,677 reads
Ran across this in my weekly browsing, Formufit sells furniture grade PVC. I think I’m not quite clear on the...
2010-08-27
1,168 reads
Today we have a guest editorial from Andy Warren that looks at a lighter topic that's fun for most geeks: super heroes.
2010-08-27
163 reads
I’m leaving later today for the not too bad drive to Jacksonville for the sixth annual Code Camp. I’ve got...
2010-08-27
554 reads
This was written for something fun on a Friday, but it’s still interesting for coffee talk anytime – what superhero would...
2010-08-27
618 reads
There are a lot of times when the decision matters less than who makes it. A common if simplified example...
2010-08-26
1,031 reads
I picked up The Secret Service: The Hidden History of an Engimatic Agency $13 @ Amazon) from the library, had been...
2010-08-25
650 reads
Funny how if take time for longer conversations, ones that ramble, you often learn interesting things that you just wouldn’t...
2010-08-24
1,075 reads
We started the event with a speaker/volunteer dinner at the home of Kevin Kline (former PASS President, current MVP,and all...
2010-08-23
664 reads
I’ll actually be going up a couple days early for a PASS Board meeting, then shifting to speaker/attendee mode Friday...
2010-08-20
504 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 Risk Vs Reward, The never...
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...
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