Error while enabling NetFx3 feature || Alternate source path error
Hello Friends,
Life Is a struggle with Lot of If and buts. It’s being a many month I was out of...
2014-10-01
1,284 reads
Hello Friends,
Life Is a struggle with Lot of If and buts. It’s being a many month I was out of...
2014-10-01
1,284 reads
I presented a session titled “SQL Server AlwaysOn Quickstart” on September 10th for the 24 Hours of PASS event. You...
2014-09-30
1,252 reads
I am extremely excited to announce that I have just received the Microsoft MVP award for SQL Server for 2014.
For...
2014-09-30
957 reads
I am extremely excited to announce that I have just received the Microsoft MVP award for SQL Server for 2014.
For...
2014-09-30
903 reads
The Board of Directors has extended voting in the current election through October 14th. Read the post from President Thomas...
2014-10-07 (first published: 2014-09-30)
6,149 reads
I’ll be driving to Viera for the monthly Space Coast SQL Users Group meeting next week. Topic still to be...
2014-09-30
1,013 reads
In the wake of Shell Shock, I’ve seen some vendor advisories indicate that while their product is vulnerable, it’s only...
2014-10-07 (first published: 2014-09-30)
7,118 reads
You might be reading a lot about Cloud computing and see three acronyms frequently: IaaS, PaaS, Saas. Cloud providers offer...
2014-09-30
1,782 reads
If you are working on a VMware vCenter Server v5.5 in an environment that has multiple segregated VLANs designed to...
2014-09-30
1,518 reads
What is the RPO?
And why does it matter?
Join me as I walk through Jefferson Patterson Park’s Indian village and discuss...
2014-09-30
862 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