Second Day of Summit
The second day of the Summit was full of even more pre-con’s. Word on the street last night is that...
2011-10-12
956 reads
The second day of the Summit was full of even more pre-con’s. Word on the street last night is that...
2011-10-12
956 reads
From the PASS president, Rushabh Mehta. PASS has facilitated 430,000 hours of training and expansion into the global community. These...
2011-10-12
470 reads
COMMUNITY!
It is a packed house again this year. If you were here on Tuesday night and you were a first...
2011-10-12
941 reads
Last year we set out some very high goals. 1 million technical training hours, 250k members in the community, and...
2011-10-12
987 reads
Wednesday morning. I’m at the blogger table waiting on the opening day keynote. LOTS of people here. Summit attendance is...
2011-10-12
702 reads
When Jes Borland suggested we do a group SQL Run in Seattle, I was thinking that we’d have a few...
2011-10-12
1,630 reads
It is hard to live tweet or live blog when the Wi-Fi is not working reliably. The keynote starts out...
2011-10-12
621 reads
I know the title of this post is a little cryptic and something that only a techie would like but...
2011-10-12
1,876 reads
Hello again. The PASS Organization has once more allowed me to sit at the bloggers table for the key note....
2011-10-12
992 reads
In SSAS, there is an Error Configuration object that is central to the management of data integrity errors.
The following picture...
2011-10-12
2,443 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