The Genealogy of Baseball Teams
The Genealogy of Baseball Teams chronicles the origin and evolution of baseball teams from every major league from the inception...
2014-02-11
369 reads
The Genealogy of Baseball Teams chronicles the origin and evolution of baseball teams from every major league from the inception...
2014-02-11
369 reads
2014-02-11
257 reads
2014-02-11
178 reads
2014-02-11
211 reads
Hey Guys!
I have come across this amazing EXCEL Championship being organized by dezyre.com. They are offering an amazing cash prize!
from...
2014-02-10
329 reads
Microsoft has announced today the general availability of Power BI for Office 365!
Microsoft describes it as: Power BI for Office 365 is...
2014-02-10
813 reads
Today Microsoft has officially announced the release of Power BI for Office 365. You can read the Power BI teams...
2014-02-10
1,433 reads
At a conference recently I had someone ask how they would configure Kerberos for accounts that look like “NT Service\MSSQLServer”...
2014-02-18 (first published: 2014-02-10)
6,019 reads
It’s Monday time for this week’s weekly link round-up. If you want to catch these links “live” (so exciting), follow...
2014-02-10
572 reads
On Friday I was finally able to spend a couple hours looking at the Redgate Ecosystem, which is essentially a...
2014-02-10
1,027 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