PASS Update #30 (Surveys)
Recently we released the results of the annual survey to determine interests for the 2010 Summit. That’s a step in...
2010-04-30
2,052 reads
Recently we released the results of the annual survey to determine interests for the 2010 Summit. That’s a step in...
2010-04-30
2,052 reads
By the time you read this we’ll have completed the transfer of the SQLSaturday web sites and data to PASS...
2010-04-29
1,465 reads
I think we do a pretty good job of delivering technical content, but not such a great job at getting...
2010-04-28
1,469 reads
Available for download by all PASS members (membership is free), this issue has Techies Talking to Non-Techies by Don Gabor....
2010-04-27
629 reads
SQLSaturday #49 will be held in Orlando on October 16th, 2010, and our call for speakers is now open. We’re...
2010-04-27
594 reads
We’re scheduled to begin moving web sites and data to PASS servers at 12:00 pm Eastern on April 27, 2010....
2010-04-26
493 reads
Another find from the new book shelf at the local library, Knives at Dawn: America’s Quest for Culinary Glory at...
2010-04-23
480 reads
I can’t say I stick to this one 100 percent of the time, but it’s definitely a deeply held belief....
2010-04-23
516 reads
A few weeks back PASS sent out a survey to get input on how to shape the 2010 Summit agenda,...
2010-04-22
539 reads
Most of us have some general rules we live by, and I’ve often thought it would be a lot easier...
2010-04-21
731 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