More information about SQL Server 2005 and SP2
SQL Server MVP Aaron Bertrand has posted an update (April 6, 2007) on the version numbers of post SP2 hotfixes....
2007-04-09
1,383 reads
SQL Server MVP Aaron Bertrand has posted an update (April 6, 2007) on the version numbers of post SP2 hotfixes....
2007-04-09
1,383 reads
I had heard of Johnny Long before I attended his briefing at Black Hat 2004. Well known for his research...
2007-04-09
1,519 reads
On the Microsoft Dynamics CRM Team Blog, Jay Grewal has posted information about the CRM Security Model Internals.
CRM is...
2007-04-09
1,651 reads
This is just frightening. A piece of a beer can, a pair of pliers, and the combo lock pops open.
...
2007-04-07
1,511 reads
Like many other SQL Server focus area, SQL Server Samples has its own blog. A recent post there indicates that...
2007-04-06
1,425 reads
The Cuckoo's Egg by Clifford Stoll has been around for a while, having been published in 1989. It details how...
2007-04-06
1,683 reads
On a recommendation, I picked up this book by Ralph Kimball. I remember it coming out years ago and I...
2007-04-06
1,424 reads
I wrote a small commentary on quality control today and I'm surprised it didn't get more reaction.
I'm not a great...
2007-04-06
1,480 reads
I wrote about Hot Fixes being inclusive of previous hot fixes. Someone questioned this and so I went back to...
2007-04-03
1,426 reads
Well one problem was solved. Or at least identified.
We've had an issue for a few years where you'd hit the...
2007-03-31
1,429 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