New Review: NGS Software's Typhon III
I recently had the opportunity to review NGS Software's updated Typhon III general vulnerability scanner. I had previously reviewed it...
2007-01-25
1,740 reads
I recently had the opportunity to review NGS Software's updated Typhon III general vulnerability scanner. I had previously reviewed it...
2007-01-25
1,740 reads
It's been quite awhile since I blogged here. Actually I'm slightly regretting that I set up this blog. I have...
2007-01-13
1,442 reads
Sean McCown writes in the latest Database Underground about how DBAs should try and make things better for users of...
2007-01-09
1,559 reads
This is from Michael Kaplan's blog over at MDSN. He was writing about the power outage that affected the Northwest...
2007-01-07
1,367 reads
I read through a lot of blogs each day in a variety of technology categories. I've always fashioned myself as...
2007-01-06
1,372 reads
January 4,
2007 Meeting Minutes: Members in
Attendance: 15Next Meeting
Date: February 1, 2007 Job
Board: I had a consulting
firm contact me...
2007-01-05
1,716 reads
Our next meeting will be
on Thursday, January 4, 2007, at 6:30 PM. It'll be at the Training Concepts
facility...
2006-12-29
1,512 reads
I've never been a big fan of "New Year's Resolutions" for the same reason most other folks are against them:...
2006-12-29
1,621 reads
On Wednesday I gave a presentation to the St. Louis Visual Basic.Net user group. I really enjoy speaking to this...
2006-12-22
1,422 reads
We recently received a script for a modified stored proc from a vendor. My colleague ran the script on the...
2006-12-15
2,584 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