Reporting Services Parameter Assumptions
Ran into a new-to-me quirk this week while putting together a couple of reports. I have a summary report (essentially...
2014-01-08
526 reads
Ran into a new-to-me quirk this week while putting together a couple of reports. I have a summary report (essentially...
2014-01-08
526 reads
Cell phones are incredibly useful tools. Even a bad one is better than not having one, but a bad phone...
2014-01-07
480 reads
Ninth annual!
Yes, Orlando Code Camp #9 this year, being held at Seminole State College on March 22, 2014. I’ve submitted...
2014-01-07
366 reads
It’s been 18 or 19 months since I upgraded from the Droid X to the Maxx. The X was a...
2014-01-06
389 reads
Just received an email from my friend Ryan Duclos announcing the South Alabama Day of .Net in Mobile, Alabama, on...
2014-01-06
343 reads
I get a lot of email about job opportunities, almost none of which interest me enough to call back about...
2014-01-03
290 reads
Possibly as many as forty million credit cards used at Target were compromised. A staggering breach and a cautionary tale...
2014-01-02
965 reads
A quiet and rainy day here in Orlando today. Not my favorite weather, but good for thinking, mostly about what...
2014-01-02
322 reads
I just sent Wikipedia five bucks. As someone who uses Wikipedia and finds it useful, I’m willing to donate in...
2014-01-01 (first published: 2013-12-26)
1,296 reads
As required, the Board has posted proposed changes to the bylaws for review by the members. The changes are fairly...
2013-12-26
533 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