MS Making .Net Framework Source Code Available
Scott Guthrie posted the announcement on his blog today. It's a 'read only' license with a few other limitations, but...
2008-01-17
775 reads
Scott Guthrie posted the announcement on his blog today. It's a 'read only' license with a few other limitations, but...
2008-01-17
775 reads
Partitioning Part 4 concludes the series with a look at 'real' partitioning in SQL 2005 Enterprise Edition. Overall the series...
2008-01-17
574 reads
Saw both of these on ComputerWorld:
Oracle buying BEA
Sun buying MySQL
It'll be interesting to see how this changes the...
2008-01-16
747 reads
Just posted on Jonathan Schartz's blog. They've definitely been playing more in the open source arena, now they've got a...
2008-01-16
647 reads
I'll be attending the South Florida Code Camp on Feb 2 and also SQLSaturday Tampa on Feb 16th. For both...
2008-01-16
538 reads
Last week, in our production, we noticed some records are missing in the subscriber side while existing on the publisher...
2008-01-15
937 reads
I watch the Geekbrief update a few times a week, partially to see new gadgets and partially to see how...
2008-01-15
744 reads
Over the last few weeks I've seen a few posts about the new Hot-Add CPU feature in SQL Server 2008....
2008-01-14
802 reads
I was discussing the Kindle recently with business partner Steve Jones and while we both like the idea of having...
2008-01-14
504 reads
Speakers tend to live for the evals. Hopefully it's a validation of work done well after a lot of time...
2008-01-09
925 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