Putting Your Head in the Clouds 3 – Cloud Service Offerings
By David Postlethwaite
Cloud Service Models
There are three main service models in the cloud. You will see these buzz words being...
2015-05-12
660 reads
By David Postlethwaite
Cloud Service Models
There are three main service models in the cloud. You will see these buzz words being...
2015-05-12
660 reads
I am extremely happy to share that I shall be delivering a workshop at the amazing SQLSaturday Cambridge on 10th...
2015-05-12
491 reads
Last week, I took the 70-461: Querying Microsoft SQL Server 2012 exam. I decided recently to try and achieve getting...
2015-05-12
804 reads
A big thank you to Cathrine Wilhelmsen (blog | twitter) for hosting this month’s TSQL2sday party. Monitoring is this month’s topic...
2015-05-12
581 reads
Alerts have been around for as long as I can remember, so some time before breakfast. That probably means you...
2015-05-12
1,159 reads
Per the post from Bill Graziano, if you want to vote in the 2015 election you have to make sure...
2015-05-11
309 reads
You know, these 1 hour sessions that are at most SQL Saturdays are just too short sometimes – you just get...
2015-05-11
574 reads
It’s five months until SQLSaturday Orlando, have you thought about your speaking plans for October? We’d love to have you come...
2015-05-11
359 reads
It’s Monday time for this week’s weekly blog and twitter round-up for last week. If you haven’t already, follow me...
2015-05-11
731 reads
Beautiful weather for a SQLSaturday! Everything went well, as expected but always appreciated. Just a few notes on this one:
They...
2015-05-11
282 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