A Thought on Career Decisions
One of the many conversations I had at the PASS Summit was about whether to pursue Direction A or Direction...
2011-10-28
647 reads
One of the many conversations I had at the PASS Summit was about whether to pursue Direction A or Direction...
2011-10-28
647 reads
I was in a meeting a few weeks ago, deadlines looming and everyone feeling the stress some. We hit a...
2011-10-28
803 reads
As life skills go one of the hardest is to see yourself as others do – they apply all kinds of...
2011-10-25
869 reads
Last week I emailed the Board of Directors my resignation effective December 31st of this year, ending my current term...
2011-10-24
645 reads
I’m a fan of virtual teams, times when you pull together people from across many teams to form a team...
2011-10-20
553 reads
I saw this about the iModela 3d printer, it’s priced under $1000, making it approachable if not quite cheap. 3d...
2011-10-19
626 reads
I work with a client now that had a poster made of the top 10 values for the IT department....
2011-10-19
624 reads
After enjoying the entirely reasonable weather in Seattle in October this year we’ll return to our more traditional time frame...
2011-10-19
546 reads
I’m writing this at the Seattle airport on Friday night with a couple hours to relax before the midnight flight...
2011-10-15
578 reads
Friday morning keynote. Quick intro from Rick Heiges. Buck Woody and Rob Farley singing, quite the sight for Friday morning....
2011-10-14
635 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