New Blog Feed URL
Not easy to find yet on the new site, you can find it at http://www.sqlandy.com/feed/.
2010-01-05
318 reads
Not easy to find yet on the new site, you can find it at http://www.sqlandy.com/feed/.
2010-01-05
318 reads
Bill Graziano posted some thoughts about the merits of East Coast vs West Coast placement of the Summit. He did...
2010-01-05
377 reads
I’ve been ‘on vacation’ for two weeks and it’s been nice to relax. I wasn’t able to unplug entirely, but...
2010-01-04
463 reads
I’ve moved my blog to www.sqlandy.com and the first post of 2010 is up. It’s still very much a work...
2010-01-02
292 reads
I started blogging about 2-1/2 years ago on SQLServerCentral.com and at the time it was the logical place for hosting....
2010-01-01
334 reads
I think I’ve met my goal of blogging every day. I’m at almost 800 posts now over the past 2.5...
2009-12-30
1,410 reads
I had a student recently who said that to get any type of training she had to write a proposal...
2009-12-29
1,548 reads
Funny the things you don’t think about until you hear someone doing it a different way. In this case it...
2009-12-28
571 reads
I ran across Scratch in a PC World article a while back. It’s a free download from MIT, and is...
2009-12-28
624 reads
Hope you’re enjoying a break from the routine and spending quality time with family. Xmas for me is a time...
2009-12-24
685 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...
Nitazoxanide 500 mg Buy Online is a search term used by people looking for...
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