First Impressions
Today we have a guest editorial from Andy Warren that examines the first impressions that you create when you meet someone.
2011-11-11
134 reads
Today we have a guest editorial from Andy Warren that examines the first impressions that you create when you meet someone.
2011-11-11
134 reads
Quick notes as it is already Thursday!
The speaker party went well. Well attended, I spent a lot of time chatting...
2011-11-10
556 reads
A lot of my work right now involves going to meetings. A few of them are ones I host, a...
2011-11-10
623 reads
With the movie coming out I realized somehow I’d missed reading Moneyball by Michael Lewis. It’s the story of how...
2011-11-09
696 reads
Recently I had the luxury of a long afternoon lunch at Chipotle on a Sunday afternoon, catching up on some...
2011-11-07
803 reads
This post is password protected. To view it please enter your password below:
Password:
2011-11-04
393 reads
With a little bit of luck I’ll be arriving in Orlando today around 9 am as I return from SQLConnections...
2011-11-04
534 reads
I was in a meeting recently that had some quiet tension to it, at least two different sides represented and...
2011-11-02
537 reads
Reading this post about Alton Brown from Good Eats triggered me to think on the topic. It looks like initially...
2011-11-01
473 reads
Here’s one that I haven’t run into before. A colleague scheduled a meeting with someone else in the organization to...
2011-10-31
1,675 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