Book Review: Murach's SQL Server 2008 For Developers
I received a review copy of Murach's SQL Server 2008 For Developers a couple months back and just finished up...
2009-03-09
1,194 reads
I received a review copy of Murach's SQL Server 2008 For Developers a couple months back and just finished up...
2009-03-09
1,194 reads
I've grown up reading Tom Clancy and probably most of you have at least seen Red October, so this book...
2009-03-08
436 reads
I just finished reading Just Culture, which talks about the challenges of building a system that encourages people to report...
2009-03-05
345 reads
My friend Chris loaned me his copy of eBoot Camp as I'm trying to strengthen what I consider to be...
2009-03-04
379 reads
It's been pretty busy since my last post. Just in one week I had at least 12 hours devoted to PASS activities, and I'll share details of some of that here. To start with, I was able to mark another of my Q1 goals complete as Sanj from PASS HQ...
2009-03-04
1,324 reads
I've been reading this for a few weeks and finally finished. Team of Rivals came up during the Presidential campaign...
2009-03-03
352 reads
Learn how to use the SSMS GUI to modify tables in this SQL School video.
2009-03-03
3,107 reads
A very short update this week, the minutes of the January 2009 board meeting have been posted. Going forward we've...
2009-03-02
355 reads
Our next oPASS/Orlando user group meeting is coming up soon on March 11, 2009, and as usual is held at...
2009-03-02
330 reads
If you've read my blog over the past year and a half you know that I've been heavily involved in trying to build a 'franchise' around SQLSaturday, with the guiding principle being that the event has to be locally owned. We've had some decent success, but we've also seen that in many cases groups are reluctant to try hosting one, usually due to one of the following:
2009-03-02
1,244 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