PASS Election Questions Answered 2
Today I am going to continue with my PASS Election Questions and Answers series. Here is where you can find...
2015-09-17
619 reads
Today I am going to continue with my PASS Election Questions and Answers series. Here is where you can find...
2015-09-17
619 reads
As we continue through the campaign period for this year’s PASS Board of Directors Election (Voting opens tomorrow morning), I...
2015-09-16
519 reads
The 2014 NomCom made some changes to how the election process works and it’s something you need to pay attention...
2015-09-15
522 reads
I’m going to hopefully show examples of some qualities I have that will benefit me if chosen as a board...
2015-09-14
571 reads
I built a brand new virtual machine running Windows 2012 R2 and SQL Server 2016 CTP 2.2 (the June edition). ...
2015-08-13
1,686 reads
On July 15th, 2015 I spoke to the PASS Architecture Virtual Chapter about AlwaysOn Failover Cluster Instances and AlwaysOn Availability...
2015-08-05
1,159 reads
Redgate will be hosting another SQL in the City event on the Monday right before the PASS Summit 2015. This...
2015-08-04
597 reads
The North Texas SQL Server User Group Board of Directors has decided to do something a little bit different for...
2015-07-30
1,085 reads
How could you possibly argue with getting 8 straight hours of SQL Server Performance training for FREE?
You can’t! Go check...
2015-07-20 (first published: 2015-07-14)
3,834 reads
I’ll be doing a precon for SQLSaturday #422 in Oklahoma City on August 28th, 2015 titled “Creating a High Availability and Disaster...
2015-07-15
766 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