Three Not SQL Blogs To Read
Here are three blogs I’ve been reading recently that are interesting. None about SQL, but you might find some value...
2012-08-31
1,943 reads
Here are three blogs I’ve been reading recently that are interesting. None about SQL, but you might find some value...
2012-08-31
1,943 reads
Earlier this week I RSVP’d to an invitation to sit again at the bloggers table at the Summit. It was...
2012-08-30
1,541 reads
Sword fighting. A friend sent me this, debunks the movie view we have of sword fighting. I can’t say I...
2012-08-29
1,634 reads
I read a note posted on the OPASS LinkedIn site today about our upcoming SQLSaturday and the two pre-cons by...
2012-08-28
1,035 reads
If you haven’t reviewed the list, head to the PASS Election Page. One incumbent, two appointees, one previous candidate, and...
2012-08-27
575 reads
I’ve been with my current client for just over a year and I still get calls for the previous occupant...
2012-08-27
706 reads
I was chatting with PASS community pollinator Karla Landrum recently and she asked me my thoughts on the auto tweets...
2012-08-25
710 reads
Great story about a client who didn’t under the different between Skype and Sharepoint – while doing a Sharepoint initiative! It’s...
2012-08-25
739 reads
My friend Jack Corbett returned to blogging recently and one of his comments was not wanting to be the guy...
2012-08-25
1,149 reads
I ran across this report that talks about the effectiveness of transparency requirements put in place around the Recovery Act...
2012-08-24
658 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