Microsoft Office 2007 Delayed
It looks like Microsoft Office 2007 will be delayed due to performance
issues. It was supposed to release in conjunction with...
2006-06-29
1,363 reads
It looks like Microsoft Office 2007 will be delayed due to performance
issues. It was supposed to release in conjunction with...
2006-06-29
1,363 reads
Idera's SQL Check
has been updated to support SQL Server 2005. SQL Check is a free
performance monitoring tool, not anywhere near...
2006-06-28
1,553 reads
A blog posting from the WinFS team
caught me a bit by surprise today. Apparently I wasn't the only one,
judging by...
2006-06-27
1,557 reads
I'm doing a little work on the 70-441 exam book since an author flaked and so I took the exam...
2006-06-26
1,605 reads
This is a bit dated (it came out last week), but here is the list of
the top 100 network security...
2006-06-26
1,462 reads
Yesterday (6/22/2006) was the day to send out our monthly vendor mailing. Last year we added a newsletter a month...
2006-06-23
1,446 reads
We are starting up efforts again to try and get a local PASS
chapter based in the Columbia, SC area. If...
2006-06-23
1,391 reads
A few years ago I took the SANS GIAC Security Essentials Course on-line. Included in it was an attempt at...
2006-06-21
2,160 reads
Microsoft has released a whitepaper on SQL Server 2005 Physical Database Storage Design
(Microsoft Word document). It's 35 pages in length...
2006-06-15
2,068 reads
I've come to learn that there are some really flaky systems out there. Not just a few quirks here and...
2006-06-15
1,399 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