Operation: Dinner Different
My wife and I try to have dinner out every other week or so, but we tend to fall into...
2010-03-12
793 reads
My wife and I try to have dinner out every other week or so, but we tend to fall into...
2010-03-12
793 reads
I’ll be attending and speaking at the Orlando Code Camp on March 27, 2010 at Seminole State College along with...
2010-03-12
556 reads
By now you’ve probably seen the official announcement from PASS about the Summit being located in Seattle for both 2011...
2010-03-11
680 reads
I’m in charge of networking and social time for oPASS and I do what I can to help get our...
2010-03-11
514 reads
We put this together last year and we’re up to 270 blogs listed, but I’m sure we’re still missing some,...
2010-03-10
520 reads
Saw this article about more elbow room, the premise being that is it is often cheaper to buy a second...
2010-03-09
359 reads
I did the relatively quick flight to Charlotte on Friday afternoon, arriving just before 2 pm, grabbed lunch to go...
2010-03-08
307 reads
I’m flying up Friday afternoon for SQLSaturday #33. Looking forward to the trip, Charlotte is a great area and I...
2010-03-05
397 reads
Time to update you again on all things PASS. First, I haven’t made a lot of progress on the speaker...
2010-03-05
542 reads
Final schedule for the Charlotte event and it is impressive – 9 tracks, 54 sessions!
2010-03-04
517 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