Notes From the January 2014 MagicPass Meeting
I went 30 miles south last night for the first meeting of the year. Extra good night because I was...
2014-01-16
492 reads
I went 30 miles south last night for the first meeting of the year. Extra good night because I was...
2014-01-16
492 reads
So by now this is no longer a new issue and not too difficult to find a fix for. However,...
2014-01-16
556 reads
I have previously blogged that I am presenting at the PASS Business Analytics Conference. If you are looking to learn more about...
2014-01-16
1,068 reads
In December 2013 I presented at a SQL Saturday event in Washington DC. My presentation was about Backup and Recovery...
2014-01-16
644 reads
Email them, call them, instant message them – pick your preferred method, and send a message that says “I think you’d...
2014-01-16
521 reads
Just a quick note today on being effective.
For better or for worse, I was raised by parents who had me...
2014-01-16
679 reads
(de)
Es ist Zeit für einen weiteren Artikel zum Thema Sicherheit.
Und durch einen Forum Thread zu „Datengesteuerter Sicherheit“ mittels der...
2014-01-16
1,056 reads
To snack lovers every where now you can consume SQL Learning the same way, in Snack Size! Introducing the new...
2014-01-16
573 reads
This is part of my Powershell Challenge, to learn more about PowerShell (PoSh) using the Learn Windows Powershell 3 in a Month...
2014-01-15
1,068 reads
PASS SQL Saturday is a training event for SQL Server professionals and those wanting to learn about SQL Server. Please...
2014-01-15
665 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...
Nitazoxanide 500 mg Buy Online is a search term used by people looking for...
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...
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