SQL Teach in Vancouver Coming Up Quick - Draught Presentation Ready (phew)
As Brad McGehee mentioned recently: SQLTeach (a part of the larger DevTeach event) will be held in Vancouver, BC this...
2009-05-21
1,070 reads
As Brad McGehee mentioned recently: SQLTeach (a part of the larger DevTeach event) will be held in Vancouver, BC this...
2009-05-21
1,070 reads
My Dearest Mister André Pratte,
Regarding your article in the Globe and Mail, I was quite surprised to see you run...
2009-05-21
1,604 reads
As none of us are immune to the current financial crisis, and your development projects have probably come to a...
2009-05-16
775 reads
Thank you, Lynn, for your previous post. I have reinforced in my first blog posting on SSC about certification as...
2009-04-29
1,776 reads
Hopefully, by the time we have our annual family vacation in May, the Cherry Blossoms will be out – until then...
2009-04-23
762 reads
As some of you may have read already, Andy Warren‘s series on LinkedIn (part 1, 2,3) and networking has sparked my...
2009-04-19
1,190 reads
Yesterday, I drove the Smart down to Burlington/Colchester, Vermont to meet up with MVP Roman Rehak and speak to the local...
2009-04-13
1,088 reads
As promised back in December ‘08, after having spoken briefly at SQL teach here in Montreal thanks to MVP Paul...
2009-04-09
1,796 reads
If you are planning a move to SQL Server 2008, although this process can apply for many Database Migrations, perhaps...
2009-03-31
4,835 reads
Starting the summer 2002, for about a year or so, the team and I embarked on a project to develop business for local utilities giant Hydro Quebec, by developing a web site for the twenty-first International Commission on Large Dams' congress in Montreal, where it was hosted in 2003.
2009-03-30
2,257 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