SQL PASS Summit–Final Day (Keynote)
Got to David DeWitt’s Keynote a bit late so this will not cover as much as normal. (For the record,...
2011-10-14
494 reads
Got to David DeWitt’s Keynote a bit late so this will not cover as much as normal. (For the record,...
2011-10-14
494 reads
The keynote started out with Rob Farley and Buck Woody singing an awesome song about a slow running query. What...
2011-10-14
1,631 reads
Friday morning keynote. Quick intro from Rick Heiges. Buck Woody and Rob Farley singing, quite the sight for Friday morning....
2011-10-14
635 reads
Bill Graziano opened the day with some very white knees as kilt day kicked off at the Summit this year!...
2011-10-14
846 reads
Dr. DeWitt has spokento the PASS Summit for the past two years – turning what was otherwise a veryforgettable “day 3”...
2011-10-14
806 reads
And we’re off. We opened with a video of people saying “Connect, Share, Learn” and “This, is Community”
Rob Farley & Buck...
2011-10-14
1,343 reads
Final day at the PASS Summit. That means it’s time to hear from David Dewitt. This is the keynote of...
2011-10-14
590 reads
Hello Dear Reader! Welcome to the final day of the PASS Summit and the Keynote address by Dr. David J...
2011-10-14
473 reads
In SSAS, to improve query performance, it’s important to understand what happens inside analysis services when a query is run. ...
2011-10-14
1,242 reads
There are four racks of servers and storage on stage for today’s keynote complete with roaring fans and flashing lights....
2011-10-14
608 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