Writing With More Than One Voice
I’ve been blogging for a couple of years now and have slowly settled into the style and pattern of blogging...
2010-04-06
311 reads
I’ve been blogging for a couple of years now and have slowly settled into the style and pattern of blogging...
2010-04-06
311 reads
Fences is a free utility for the Windows desktop that lets you drag shortcuts into boxes you define (fences) and...
2010-04-05
437 reads
It had been a long while since I listened to an audio book, found it while browsing at the library....
2010-04-02
392 reads
I bet most of you use some type of diff/comparison tool at work. Probably one for the file system and...
2010-04-01
547 reads
Continuing on from Part 2, I want to continue this time with two points I left open last time:
How to...
2010-03-31
1,673 reads
I’ve long admired the value that I get from Wikipedia and like the concept of crowd sourcing knowledge, just never...
2010-03-30
1,657 reads
Instructables has a Paracord contest going that requires some portion of a project include paracord (often referred to as 550...
2010-03-30
1,861 reads
I arrived about 7:15 and already quite a few people on hand. Registration was moved to inside this time, just...
2010-03-29
977 reads
I read Titan: The Life of John D. Rockefeller, Sr. ($13 @ Amazon) as one of the books recommended to me...
2010-03-26
877 reads
What happens when you burnout? Would you recognize when it happens? A guest editorial from Andy Warren talks about some of the signs and what you can do.
2010-03-25
504 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 Risk Vs Reward, The never...
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...
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