PASS Data Arch VC presents: Neil Hambly’s Think You Have The Right Data-Type?
Please join this Thursday Feb 24th 2013 at noon central for Confio SQL Server expert Neil Hambly talking SQL Server...
2013-02-24
739 reads
Please join this Thursday Feb 24th 2013 at noon central for Confio SQL Server expert Neil Hambly talking SQL Server...
2013-02-24
739 reads
Please join this Thursday Dec 20th 2012 at noon central for Business Intelligence expert/consultant James Serra talking Master Data Services....
2012-12-16
539 reads
Thursday afternoon
Thursday afternoon concluded with How to run SSRS in Sharepoint integration mode, Enriching Tabular with DAX and Monitoring SSAS....
2012-11-23 (first published: 2012-11-13)
1,199 reads
WIT – Women In Technology 10 anniversary PASS Summit Luncheon
Please go to this link for more info on the speakers and...
2012-11-08
890 reads
Using SSIS 2012 for ETL in a Data Warehouse
Well, I feel great relief that my session has been completed, and...
2012-11-08
715 reads
Morning
Could not sleep past 4:30AM this morning, daylight savings time and 2 time zone changes did not help. So, exercise...
2012-11-05
684 reads
Using SSIS 2012 for Data Warehouse ETL
I have been fortunate to be selected this year to speak at the PASS...
2012-11-01
1,044 reads
I received an email from my boss on the morning supervisors approve timesheets. He stated that they are complaining about...
2012-10-14
2,082 reads
The PASS Data Architecture Virtual Chapter will host part II of Designing for Common Problems in SQL Server by Dr....
2012-10-09
600 reads
The Virtual Chapters of PASS are asked to host sessions during this Fall’s 24 Hours of PASS preview for the...
2012-09-18
1,001 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