Dustin Ryan: Power Pivot 101: An Introduction
The PASS Excel Business Intelligence virtual chapter presents Dustin Ryan introducing everybody to Power Pivot in Excel. This chapter has...
2015-09-07
657 reads
The PASS Excel Business Intelligence virtual chapter presents Dustin Ryan introducing everybody to Power Pivot in Excel. This chapter has...
2015-09-07
657 reads
DevConnections is a new conference for me and I am excited about the opportunity to present 2 different sessions. The...
2015-08-11
616 reads
This is I believe the 7th SQLSaturday in Baton Rouge. Please come out this Saturday at the LSU Business Center...
2015-07-27
602 reads
You can download the much hyped up Power BI Desktop (formerly Power BI Designer). There are many blogs about the...
2015-07-24
1,133 reads
The next version of SQL Server looks to add more and more features helpful in database design and administration as...
2015-07-16
987 reads
I was thinking today about why I submit sessions to speak at the PASS Summit.
My first summit was in Denver...
2015-06-26
439 reads
Join us today at noon central for Asgeir presenting for the Excel BI VC.
Thu, Jun 18 2015 12:00 Central Daylight...
2015-06-18
446 reads
I have been selected again to speak in Houston (Saturday, June 13th) for a SQLSaturday event and look forward to...
2015-06-04
538 reads
It is that time of the year when PASS starts a process to help update memberships and clean up duplicate...
2015-05-07
448 reads
Microsoft has given us DBAs/Developers/etc. a wealth of free reports integrated into SQL Server Management Studio (SSMS) in order to...
2015-04-07
816 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