PASS Update #50-January 2010 Board Meeting
This post is my thoughts on the Board meeting, and my views on related topics. I encourage you to read...
2011-01-31
1,961 reads
This post is my thoughts on the Board meeting, and my views on related topics. I encourage you to read...
2011-01-31
1,961 reads
I’ve been taking a look at MySQL after a long absence to help a client decide if it should be...
2011-01-28
925 reads
I’ve had occasion to watch a lot of people try Profiler, and to hear a lot more about their previous...
2011-01-27
579 reads
Help us promote our upcoming PASS events by including any or all of these on your blog or in your...
2011-01-25
732 reads
I get a lot of questions about how SQLRally is going, which tells me that there is a lot of...
2011-01-20
640 reads
Kendal Van Dyke is launching a new PASS Chapter called MagicPASS in Orlando this week, with the first meeting on...
2011-01-19
688 reads
The weekend started with a later afternoon drive to Tampa, returning a couple calls and then chatting with Steve Jones...
2011-01-17
624 reads
The conventional wisdom tends to hold that you should trumpet your accomplishments to your boss, though in a way that...
2011-01-11
752 reads
I wrote Clouds in our Future to see if I could spark a good conversation about the mental shift required...
2011-01-10
611 reads
The official announcement was posted yesterday that Jeremiah Peschka and Brian Moran have decided to resign from the Board and...
2011-01-09
707 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...
Nitazoxanide 500 mg Buy Online is a search term used by people looking for...
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...
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