One Hit Wonders of the 80’s
Happened to channel surf across this on TV, found the list - http://blog.vh1.com/2009-04-01/100-greatest-one-hit-wonders-of-the-80s-read-the-list-2/. Many of the links seem to point to...
2009-12-24
835 reads
Happened to channel surf across this on TV, found the list - http://blog.vh1.com/2009-04-01/100-greatest-one-hit-wonders-of-the-80s-read-the-list-2/. Many of the links seem to point to...
2009-12-24
835 reads
Have not tried this yet, but had it bookmarked to share, the TruLink Wireless USB to VGA will send video...
2009-12-23
726 reads
I’m perusing things I’ve in the ‘blog about someday’ category of my list and found this one – a very nice...
2009-12-22
600 reads
It’s interesting to listen when DBA’s get together, there is always a story or two about the evil that developers...
2009-12-21
1,026 reads
I was reminded of this again recently during a class when the students exchanged cards and one student didn’t have...
2009-12-21
629 reads
Most companies do something at the holidays, although it seems to be less with each year, and certainly this holiday...
2009-12-18
1,484 reads
Most companies do something at the holidays, although it seems to be less with each year, and certainly this holiday...
2009-12-17
1,015 reads
Ran across this post from Mark Russinovich titled The Machine SID Duplication Myth that seems to debunk the idea that...
2009-12-16
786 reads
SQLSaturday #37 will be held March 13, 2010 at Mandeville Hall, St. Joseph's University, 5600 City Line Ave, Philadelphia, PA....
2009-12-16
563 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-12-15
587 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