Latest post from Bill Gates featuring Hans Rosling’s animated bubble graphs
I just caught a tweet from Bill Gates with yet another fascinating presentation from Hans Rosling on the Gates Notes...
2011-11-02
788 reads
I just caught a tweet from Bill Gates with yet another fascinating presentation from Hans Rosling on the Gates Notes...
2011-11-02
788 reads
The 2011 PASS Summit is in the rear view mirror (has it really been almost three weeks now?)...and as always...
2011-11-02
951 reads
I drove the over 250 miles from my home in Edwardsville, IL, to attend the SQL Server 87 in Louisville,...
2011-11-02
1,346 reads
On October 18, 2011 I have made unfair and incorrect words on Twitter, Facebook, LinkedIn,
and Xing against the owners of...
2011-11-02
778 reads
Are you a salaried employee looking to switch to a W-2 or 1099 contractor? (For an explanation of W-2 and...
2011-11-02
4,133 reads
I have the privilege of being able to give a webinar tomorrow, November 3, at 11 AM EDT. It will...
2011-11-02
1,089 reads
I’m honored to have been selected to present two sessions at SQL Saturday #96 in our nation’s capital, Washington DC...
2011-11-02
793 reads
I was in a meeting recently that had some quiet tension to it, at least two different sides represented and...
2011-11-02
537 reads
I was just wondering if anyone has a WAN optimization solution as part of their infrastructure. I have a few...
2011-11-02
775 reads
If you are in and around Dallas next week drop by my FREE half-day Business Intelligence workshop. The details are...
2011-11-01
1,684 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