Unofficial Poll on 2010 PASS Summit Keynote Speaker
I’ve blogged on this before, here and here, and ended up chatting about it on Twitter (see, I do use...
2010-05-19
669 reads
I’ve blogged on this before, here and here, and ended up chatting about it on Twitter (see, I do use...
2010-05-19
669 reads
You can choose from how query optimization works and why it’s so hard, or how relational engines and MapReduce can...
2010-05-19
660 reads
I struggled with the title for this one. One of the thoughts I had was that I believe in being...
2010-05-18
688 reads
On Thursday I presented ‘Building a Comprehensive Professional Development Plan’ to the PASS Professional Development Chapter (#PASSProfDev on Twitter) via...
2010-05-17
724 reads
A friend is moving into a leadership role for the first time and we talked some about making that transition....
2010-05-14
962 reads
Had this on my list todo list, upgrade my laptop that just had plain old SQL 2008 on it. The...
2010-05-13
621 reads
It’s been a couple years since I’ve attended and always found Teched to be a great event, more content than...
2010-05-12
1,231 reads
This was a phone meeting on April 8th, 2010, that covered:
Possibility of an online track at the 2010 PASS SummitDiscussion...
2010-05-11
699 reads
Strangely we’ve had the March minutes up for many weeks, but just now getting the February minutes posted. This was...
2010-05-11
604 reads
We moved to Thursday this month to line things up so that Dean Richards from Confio could do a presentation...
2010-05-11
556 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 Risk Vs Reward, The never...
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...
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