Starting a Technical Blog (Link)
Brent Ozar had a nice post recently on starting a technical blog, well worth reading and a good addition to...
2008-12-07
282 reads
Brent Ozar had a nice post recently on starting a technical blog, well worth reading and a good addition to...
2008-12-07
282 reads
Last event of the year here in Florida. I'll be heading to the Tampa Code Camp to do a presentation...
2008-12-04
226 reads
Hopefully in the next week or so the full financial info will be released to all members, but in the...
2008-12-03
346 reads
In this SQL School video, Andy Warren examines one of the new features in SQL Server 2005: mirrored backups.
2008-12-02
4,291 reads
Recently I needed to rearrange some stuff at the office and part of that included moving our install of Quickbooks...
2008-12-02
253 reads
I ran across this history quiz in Jeff Duntemann's blog and thought I'd give it a try. I managed to...
2008-12-01
434 reads
That's the question posed by Kalen Delaney in a write up on SQLMag.com. Is a SQL event of more than...
2008-11-30
1,581 reads
One more holiday post. Hope you all enjoyed Thanksgiving and are now enjoying either a quiet and well deserved day...
2008-11-27
1,369 reads
I'm cheerfully taking the day off today (and tomorrow too!), and I'm writing this a week in advance as I...
2008-11-26
1,463 reads
I saw this post about a recent panel that tried to come up with guidelines for airlines as far as...
2008-11-25
1,398 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