SQLSaturday Site Wish List
Overall I find the site to be useful and responsive, but sometimes I see small things that I wish were...
2012-07-15
652 reads
Overall I find the site to be useful and responsive, but sometimes I see small things that I wish were...
2012-07-15
652 reads
Here are a few things I’ve found/had sent to me recently you may find interesting:
Most Common GRE Words. 400 words...
2012-07-12
690 reads
I’ve thought about writing on this topic a couple times and was reminded of it again when I read a...
2012-07-09
1,208 reads
Three more added to the stellar slate of speakers for SQLSaturday Orlando, we look forward to seeing you soon!
Ira Whiteside
Devin...
2012-07-09
512 reads
We’ve selected 10 speakers so far, today we bring it to a fabulous bakers dozen with three more – all based...
2012-07-07
737 reads
Ten speakers selected, and as we go into the July 4th holiday we’re going to add two more to that...
2012-07-03
321 reads
So far we’ve selected 8 speakers for SQLSaturday #151 in Orlando this year (see Group #1 and Group #2), today...
2012-07-02
761 reads
A pattern I’ve seen over and over again at many different jobs is that some people are not held accountable...
2012-07-02
774 reads
Today we’re starting to announce speakers that will have at least one session on the schedule for SQLSaturday #151 in...
2012-06-28
1,556 reads
Four more speakers we’re pleased to have joining us at SQLSaturday #151 this fall in Orlando!
Paul Waters
Mike Antonovich
David Liebman
Bradley Schacht
2012-06-28
1,406 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