More Thoughts on Stress
I’m trying to pay more attention to things that cause me stress and how I deal with the stress. It’s...
2009-11-09
937 reads
I’m trying to pay more attention to things that cause me stress and how I deal with the stress. It’s...
2009-11-09
937 reads
A few random thoughts:
I think many people did ok at the airport connecting for ride share via Twitter. By next...
2009-11-09
374 reads
Started the day at 6:30 at Top Pot with a meeting about SQLSaturday over coffee and it really ended up...
2009-11-05
1,128 reads
We’re losing three good people as of the end of the year, but I thought now would be a good...
2009-11-05
573 reads
Up at 5am today, worked for a while, then down to breakfast at 6am with Brent, Colin, Denny (and wife!),...
2009-11-04
417 reads
Brent posted it first and I’m going to borrow his list to post here:
Best Business Intelligence Blog Post:
Winner: Chris Webb...
2009-11-04
787 reads
Up early again, started my day at the Convention Center for breakfast. Light breakfast, drinking water, never seem to drink...
2009-11-03
384 reads
Encryption is starting to become a necessity, not an option as we work with and store more sensitive data. A guest editorial from Andy Warren comments on our fears of implementing encrpytion and why we might want to just encrypt everything.
2009-11-03
230 reads
Started the day with a long walk, then off to Top Pot doughnuts for coffee with Don Gabor, Jack Corbett,...
2009-11-03
381 reads
Flew out of Orlando direct to Seattle, leaving at 8:30 and arriving about 1130 am Seattle time. Nice flight, no...
2009-11-02
362 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