Trello – Integrations
In December I wrote about working from home in which I talked about Trello. Trello is a virtual kanban board...
2018-02-02
446 reads
In December I wrote about working from home in which I talked about Trello. Trello is a virtual kanban board...
2018-02-02
446 reads
Recently, one of my clients had a need to automatically download a file from a public facing state government website. ...
2018-01-26
1,160 reads
Recently, one of my clients had a need to automatically download a file from a public facing state government website. ...
2018-01-26
131 reads
Recently, I got to work with a client on something interesting. We implemented transactional replication to send data to an...
2018-01-22 (first published: 2018-01-12)
1,336 reads
With the announcement of the recent security issues, namely Meltdown and Spectre, we at Denny Cherry & Associates Consulting have been...
2018-01-19
530 reads
Last month in December, I posted an article about working from home. In it I mentioned a couple of tools...
2018-01-05
425 reads
Last month in December, I posted an article about working from home. In it I mentioned a couple of tools...
2018-01-05
583 reads
In a few days the year 2017 will come to a close. The brand new year 2018 is on deck...
2017-12-29
340 reads
In a few days the year 2017 will come to a close. The brand new year 2018 is on deck...
2017-12-29
494 reads
It’s now been one month since I’ve started to work for Denny Cherry & Associates Consulting. Working for DCAC now enables...
2017-12-01
476 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