Professional Development Links
Someone asked me for these recently as they predate the blog. All were posted on SSC over the past couple...
2008-04-17
626 reads
Someone asked me for these recently as they predate the blog. All were posted on SSC over the past couple...
2008-04-17
626 reads
As a mentor I'm looking for someone with the drive to learn and grow, and willing to acknowledge that they...
2008-04-17
542 reads
Yesterday was an interesting day up at Microsoft. The SQL Server track is split into two sessions, with 2 assigned...
2008-04-16
691 reads
It was announced yesterday that Service Pack 3 for SQL Server 2005 is coming! I've been trying to get people...
2008-04-16
758 reads
One of the dangers of mentoring someone on your team is that you can easily be perceived as biased, and...
2008-04-16
476 reads
I'm sure that Monday was the most relaxed day that we will have this week. The conference did not start until...
2008-04-15
604 reads
I think sometimes a lot of what we call mentoring might be appropriately called coaching. Before you go trying to...
2008-04-15
494 reads
I am actually stunned. I knew that more bandwidth makes a difference, but having way more bandwidth is truly amazing.
My...
2008-04-14
761 reads
I arrived Sunday in Seattle from St. Louis for the MVP Global Summit. The shuttle from the airport was filled...
2008-04-14
433 reads
Just received word that Microsoft has posted 3 new courseware titles under the "What's New in SQL Server 2008" umbrella. ...
2008-04-14
1,414 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