Larger & Cheap(er?) Monitors
I stopped by Compusa on the way home to pick up a package of blank DVD's and did the 10...
2009-05-18
789 reads
I stopped by Compusa on the way home to pick up a package of blank DVD's and did the 10...
2009-05-18
789 reads
I went over last night to do a presentation to the group managed by Bonnie and Lynn. Had 11 in...
2009-05-15
649 reads
I've been reading What Got You Here Won't Get You There by Marshall Goldsmith over the past couple months, and...
2009-05-13
771 reads
Our most recent meeting was May 12, 2009, and we had 23 attendees. We started off the evening with news...
2009-05-13
594 reads
I'm still learning and experimenting on the networking side, thought I'd share a few things I've seen or tried lately....
2009-05-12
631 reads
It's been a slower pace since the last update. Grant and I are working on the publication process for content...
2009-05-12
759 reads
SQLServerCentral had a press release today about attending the Summit and the networking opportunities, something that I've been blogging about...
2009-05-12
882 reads
As I've mentioned in earlier posts (Part 1, Part 2, Part 3) I've engaged speaking and networking Don Gabor to help me build my skills. I recently had my second coaching session and wanted to share more of what I've learned so far.
2009-05-11
1,479 reads
Last year I wrote about signing up for Clear, a registered traveler program. I've flown enough to make it useful...
2009-05-10
593 reads
Fiction review this week. I recently read Patriot Acts by Greg Rucka, the continuation of the story that started in...
2009-05-07
292 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