SQLSaturday #52 - Colorado Details
What is SQL Saturday?
SQLSaturday is a training event for SQL Server professionals and those wanting to learn about SQL Server....
2010-09-12
514 reads
What is SQL Saturday?
SQLSaturday is a training event for SQL Server professionals and those wanting to learn about SQL Server....
2010-09-12
514 reads
I was asked recently by Chris Shaw who is the site manager for SSWUG.org, if I was interested in speaking...
2009-09-27
472 reads
To address a few questions on what does the board actually do and to bring more visibility to all of...
2009-09-10
705 reads
Dan English put up a blog post on his experiences with installing Gemini. His post is loaded with screen shots...
2009-08-31
1,371 reads
Image a full day of SQL Server and BI training. Even better yet, a full day of FREE training. Well PASS (Professional...
2009-08-24
545 reads
I did a presentation last week for the Denver SQL Server User Group (www.DenverSQL.org) and the Colorado Springs SQL Server User Group...
2009-06-26
1,521 reads
Denver SQL Server User Group:
A “Biking Buddy” Adventure Works hospitality report. Always have something in common to talk about with...
2009-02-19
815 reads
We use the Analysis Services Deployment Wizard when moving our cubes from Dev to QA and then QA to Prod. ...
2009-01-07
334 reads
I attended this years PASS Summit in Seattle and it turned out to be a great event. Many of the...
2008-12-04
483 reads
You will see this or a similar code sample when referring to clearing the analysis services cache. However, I have...
2008-12-02
586 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