Notes from PASS - Part 3
Today was interesting. I headed for breakfast and after a few stops to chat with friends, wound up sitting with...
2007-09-21
1,489 reads
Today was interesting. I headed for breakfast and after a few stops to chat with friends, wound up sitting with...
2007-09-21
1,489 reads
Denver is a great location for a conference. The convention center is two blocks from the 16th street mall - must...
2007-09-19
540 reads
I was late, not getting up quick enough and then fighting traffic into the city. From there I did a...
2007-09-19
646 reads
After the PASS opening, which I dropped in long enough to get a beer, we had the SQLServerCentral.com party.
It seemed...
2007-09-19
618 reads
One of the points mentioned in the volunteer meeting on Tuesday was that it makes a lot of sense to...
2007-09-19
551 reads
I attended the morning portion of the volunteer/chapter meeting today and got to put some names with faces for some...
2007-09-18
597 reads
I'm kind of stunned. I have asked 6 people to go to the PASS conference over the last 4 days...
2007-09-17
694 reads
Last week I taught 'Successful Technical Speaking' for the first time - it's a free four class I put together for...
2007-09-17
787 reads
I'm flying out tomorrow for the event and looking forward to it, nice break from the office/work routine, a chance...
2007-09-16
520 reads
So I got a final count of referrals from the PASS conference yesterday and it was 183, so thanks to...
2007-09-14
667 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