SQLSaturday Event Leaders – Reserve Your Date for H1 2011
We’ll try to push this out through multiple channels, we’re trying to forecast dates to give those thinking about events...
2010-09-20
573 reads
We’ll try to push this out through multiple channels, we’re trying to forecast dates to give those thinking about events...
2010-09-20
573 reads
Recently I had a student point me to CakeWrecks, a blog about good cakes gone bad.The post from today has...
2010-09-17
559 reads
I started writing on influence last week and promised some comments on how to build influence and credibility. There are...
2010-09-17
1,361 reads
Most people blog because it’s fun, rewarding, good way to improve writing skills, be cool, and it looks good on...
2010-09-16
1,014 reads
Jack led the meeting tonight, spending a good amount of time on SQLSaturday, and Kendal Van Dyke did his marketing...
2010-09-16
597 reads
I read Blink: The Power of Thinking Without Thinking by Malcolm Gladwell on a recommendation by Andy Leonard. Easy recommendation...
2010-09-15
951 reads
I’ll have a longer post next week about my own risk strategy, but I wanted to write this first, both...
2010-09-14
623 reads
If you haven’t voted I hope you will. Ballots were sent out via email to those members eligible to vote....
2010-09-14
558 reads
A bit of mid week humor. Recently I met up with Jack Corbett to review our room options for SQLSaturday...
2010-09-14
539 reads
It’s back with a slightly different format this time, 28 hours of seminars delivered over two days, and it’s all...
2010-09-13
577 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