Tribute to Jim Gray
Ran across this in the Mar/Apr ACM Queue, http://www.eecs.berkeley.edu/IPRO/JimGrayTribute/ will be held at UC Berkeley on May 31st, 2008. Jim Gray...
2008-04-24
1,362 reads
Ran across this in the Mar/Apr ACM Queue, http://www.eecs.berkeley.edu/IPRO/JimGrayTribute/ will be held at UC Berkeley on May 31st, 2008. Jim Gray...
2008-04-24
1,362 reads
Most of that do any time of training or consulting typically use laptops, and they are even reasonably common in...
2008-04-23
1,620 reads
Ran across this from Mosso, a spin off from Rackspace. Pricing looks very attractive, and there are some interesting twists....
2008-04-22
1,721 reads
This is an old topic and well documented, just google it and I believe you will get a lot,
However,...
2008-04-22
2,251 reads
I am fairly new to the IT profession, so I think my blog will be great for others trying to...
2008-04-22
1,562 reads
As you may know MS Teched is two weeks this year and is being held in Orlando. Turns out that...
2008-04-22
1,333 reads
Someone asked me this recently and I really had no idea. Quick look in BOL didn't yield any results, so...
2008-04-21
1,829 reads
I hate to say it, but I can't say anything. At least not yet until I confirm some things are...
2008-04-21
673 reads
Our Dell rep sent over this link about Equilogic ISCSI SAN's, pricing is not yet posted but according to him,...
2008-04-21
871 reads
Someone asked me for these recently as they predate the blog. All were posted on SSC over the past couple...
2008-04-17
626 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