Next Step for the One Laptop Per Child Project
I’ve been a fan of the OLPC project, even buying to raffle off at an event just so I could...
2010-02-08
359 reads
I’ve been a fan of the OLPC project, even buying to raffle off at an event just so I could...
2010-02-08
359 reads
Scott Klein has put together the first annual Geek Golf event. Scheduled for May 8th, 2010, it’s being held at...
2010-02-08
529 reads
As I mentioned earlier in the week I had promised Andy an interview, we finished it up yesterday and the...
2010-02-05
354 reads
A couple weeks back I asked for reading suggestions, and I got a bunch! Here’s the list so far:
Wizard’s First...
2010-02-05
436 reads
Our next meeting is February 9, 2010, We’ve got Ronald Dameron coming to speak this month on Database Hardening using...
2010-02-04
329 reads
January has been a slow month for me as far as PASS involvement, I show about 10 hours logged for...
2010-02-04
465 reads
Dave Schutz will be leading the first ever SQLSaturday in Columbus, OH on June 5, 2010 at the Fawcett Center...
2010-02-04
336 reads
Yesterday I posted the news that SQLSaturday is now owned by PASS, today I’d like to share a bit of...
2010-02-03
1,098 reads
I’ll write more about this tomorrow, but for now I’m reposting the release from Rushabh Mehta, President, PASS:
It gives me...
2010-02-02
319 reads
In our world sometimes it’s worth the time and effort for in depth tuning to get the machine to run...
2010-02-01
670 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