PASS Goals Published
Hopefully you got the email today from PASS containing these:
Volunteer GoalsProgram GoalsSQLSaturday GoalsReading them I’m first struck that we often...
2014-02-19
635 reads
Hopefully you got the email today from PASS containing these:
Volunteer GoalsProgram GoalsSQLSaturday GoalsReading them I’m first struck that we often...
2014-02-19
635 reads
Friday night I took my wife out for Valentine’s Dinner. We had a reservation for 9 pm and I hoped...
2014-02-18
645 reads
If you don’t have kids you might not get the title of the post, it’s part of the theme song...
2014-02-17
635 reads
Amusing myself for a minute at Google Trends. Anyone missing 2005?
2014-02-17 (first published: 2014-02-12)
3,559 reads
Today I watched DATAVIZ YOU THOUGHT YOU COULD NOT DO WITH SSRS by Jason Thomas. The intro felt long, but...
2014-02-14
756 reads
I’ve been trying out the Melitta Coffee Brewer for a few weeks. Not much to it, it’s just a plastic...
2014-02-13
741 reads
I found Tell Me How I’m Doing by Richard L. Williams at the local library. It’s a book about giving...
2014-02-11
611 reads
On Friday I was finally able to spend a couple hours looking at the Redgate Ecosystem, which is essentially a...
2014-02-10
1,027 reads
Today we have a guest editorial from Andy Warren. He talks about strange questions in interviews and whether they help you assess the candidate.
2014-02-07
399 reads
I’ll be at Code Camp Orlando on March 22, 2014 doing a presentation on storing credit cards in SQL Server...
2014-02-05
632 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