Building My Next Workstation–Part 4
Reading about the motherboard choices took a while. Because I had already decided on a CPU, the Intel I7 I...
2013-03-07
789 reads
Reading about the motherboard choices took a while. Because I had already decided on a CPU, the Intel I7 I...
2013-03-07
789 reads
I saw it in the Connector, but just had time to read the minutes to see what was behind the...
2013-03-06
864 reads
With a case ordered and a CPU in mind I decided to focus on the power supply next. Remember that...
2013-03-05
659 reads
I was reading about the American Association of Woodturners annual symposium that will be held in Tampa this year (and...
2013-03-05
643 reads
This past weekend I was back in Tampa for the sixth annual SQLSaturday. It’s a trip I always look forward...
2013-03-04
660 reads
One of the minor features/quirks/annoyances of MS Access is that if you create a single macro or code module you...
2013-03-04
686 reads
Building a computer, at least in the beginning, feels like something you have to do holistically and at the same...
2013-02-25
1,264 reads
It’s been four years – maybe more – since I last bought a workstation to use for development and lab work. It’s...
2013-02-18
749 reads
My Nexus 7 tablet has grown on me, though I think it’s more about having a dedicated tablet than the...
2013-02-14
626 reads
It’s easy to get comfortable in a job and neglect to capture the relationships and connections you’ve built – for me...
2013-02-12
628 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