oPASS April 2010 Meeting is Tonight
Our next meeting is today, April 9, 2010, from 6-8 pm. Our featured speaker is Joe Webb and he’ll be...
2010-04-13
249 reads
Our next meeting is today, April 9, 2010, from 6-8 pm. Our featured speaker is Joe Webb and he’ll be...
2010-04-13
249 reads
The minutes from the March 2010 Board meeting were released last week and I hope you’ll review them carefully. Viewing...
2010-04-13
473 reads
Just set up SQLSaturday #47 in Phoenix for July 17, 2010 at Devry. Call for speakers is open, good to...
2010-04-13
751 reads
Several weeks ago I was invited to attend a ‘tweetup’ by Microsoft on April 8th, an almost all expenses paid...
2010-04-12
443 reads
Sanj Gandham from PASS HQ set up a basic template for SQLSaturday presentations, you can download it from here. Our...
2010-04-12
738 reads
I did an hour or so call with Jack Corbett recently to review what we hope to accomplish this year....
2010-04-08
300 reads
A guest editorial from Andy Warren today looks at choices in time management, as well as work accomplished.
2010-04-08
130 reads
Life was busier than I would have liked this year, but made it to one game, Braves vs Tigers, for...
2010-04-08
285 reads
Had this on my list for a while, thinking maybe it’s a way to leverage the investment in my (your)...
2010-04-07
264 reads
We’ve been busy on the transition and we’re finally at a place where we can give you an update on...
2010-04-06
364 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