PASS Update #69 (The Wrap Up)
Next week marks the end of my third and final year serving on the PASS Board of Directors. I’ve struggled...
2011-12-27
668 reads
Next week marks the end of my third and final year serving on the PASS Board of Directors. I’ve struggled...
2011-12-27
668 reads
Today we have a guest editorial from Andy Warren. Today Any asks you to think about your career and your network for 2012.
2011-12-27
113 reads
My presentation on Professional Development Plans ended up being ranked 47th out of 190, with an overall score of 4.63....
2011-12-22
649 reads
I wrote a while back about my coffee cup from SQLSaturday #100. I took it to work (where I usually...
2011-12-21
643 reads
Today we have a guest editorial from Andy Warren. Andy talks about the relationship with your boss, and how you ought to view them as your customer.
2011-12-21
235 reads
Looking at 2011 and the planned events so far for 2012 it’s easy to see that SQLSaturday is starting to...
2011-12-20
661 reads
Here’s a great post from Karla Landrum about her trip (with husband Rodney) to Brazil for the milestone making #100....
2011-12-19
734 reads
Today we have a guest editorial from Andy Warren. This one follows on from his "are you easy to work with" piece.
2011-12-16
296 reads
It’s not uncommon to have information shared in a Word doc, but I was surprised recently to open one up...
2011-12-16
736 reads
Yesterday I shared the small adventure of buying a refurbished laptop. While I was at Compusa looking at laptops I...
2011-12-15
867 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