Stealth Updates
Editorial coming next week, but so far this is amazing to me. Microsoft's stealth updates of their client update tool....
2007-09-14
618 reads
Editorial coming next week, but so far this is amazing to me. Microsoft's stealth updates of their client update tool....
2007-09-14
618 reads
OK, here's one take. Not sure if it's any good, but it's a start.
No live editorials yet. I've been working...
2007-09-13
665 reads
I'm working on getting a small studio set up for some podcasting of the editorials. That means I put a...
2007-09-12
2,237 reads
You might call me a bean counter, but it's a fact that every manager needs to manage the distractions that...
2007-09-11
526 reads
Saw an plug for it from our sales rep yesterday, MD3000i. Starts at $7300 with just a couple drives, goes...
2007-09-11
500 reads
I have been on vacation the last week, which meant I spent the previous three weeks at work preparing to...
2007-09-10
614 reads
For those who might not have browsed previous posts I'm heading up a free one day training event called SQLSaturday...
2007-09-10
549 reads
Makes me yearn for a faster connection, about a 2300 mb download to get all the various pieces and if...
2007-09-10
1,260 reads
I wrote this up based on some questions in our recent BI class where we spend almost a full day...
2007-09-06
535 reads
You might have visited these already, but it's interesting to see MS diversify a bit from the standard MSDN template....
2007-09-06
969 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