ColoradoSQL in August
All ColoradoSQL user group meetings start at 5:30 and provide food and refreshments. There is no cost to attend so...
2011-08-15
589 reads
All ColoradoSQL user group meetings start at 5:30 and provide food and refreshments. There is no cost to attend so...
2011-08-15
589 reads
If your looking for presentations, demos, hands-on labs and videos to help you better understand SQL Server 2008 R2, then...
2011-07-15
492 reads
All ColoradoSQL user group meetings start at 5:30 and provide food and refreshments. There is no cost to attend so...
2011-06-15
920 reads
All ColoradoSQL user group meetings start at 5:30 and provide food and refreshments. There is no cost to attend so...
2011-05-16
743 reads
SSWUG.org is hosting a free SQL Server Analysis Services expo on May 20, 2011. Register today to reserve your spot.
If...
2011-05-11
819 reads
The Denver SQL Server User Group is starting another round for the certification study group. Last year we ran three...
2011-04-23
1,262 reads
The Denver SQL Server User Group is starting another round for the certification study group. Last year we ran three...
2011-04-23
871 reads
Denver SQL Server User Group - Thursday, February 17, 2011
Main Presentation
"Dirty Data? Clean It Up! By Tim Mitchell"Dirty Data? Clean It...
2011-02-17
465 reads
Several years ago, late 2006, I decided to focus my career on Data Warehousing and Business Intelligence (DW/BI). I was...
2010-09-20
1,178 reads
For the past 1 1/2 years now we’ve been hosting two presentations each meeting. The first presentation is typically a...
2010-09-16
784 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