ACM, 5 Year Anniversary, and Customer Service
Time moves by and I was surprised to get a coffee mug in the mail from ACM (Association for Computing Machinery)...
2008-05-07
494 reads
Time moves by and I was surprised to get a coffee mug in the mail from ACM (Association for Computing Machinery)...
2008-05-07
494 reads
I was able this Saturday to head down to Jacksonville and speak at the SQL Saturday there. There were a...
2008-05-07
731 reads
It would be handy to have a checkbox/SET option/something that would tell SQL not to cache plans run in a...
2008-05-06
428 reads
So after many months of trudging through native SQL Server backups for new mission-critical application I'm deploying, I have decided...
2008-05-06
690 reads
How to have more SQLSaturdays?
Over the past year we've been working on the ambitious goal of building a national franchise...
2008-05-06
806 reads
Check out the photos from SQL Saturday 3 - Jacksonville:
http://tim-mitchell.spaces.live.com/
2008-05-06
905 reads
One of the interesting challenges of mentoring is knowing where the lines are; not trying to counsel about personal problems...
2008-05-05
1,131 reads
So if you missed out on SQL Saturday you missed a great event and I highly suggest making it to...
2008-05-05
1,128 reads
Our 3rd SQLSaturday went amazingly well due to the efforts of Brian Knight and his volunteers. Attendance for the day...
2008-05-04
517 reads
I just wrapped up a high-octane day of SQL Server community education at SQL Saturday in Jacksonville, Florida. This event,...
2008-05-04
875 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 Risk Vs Reward, The never...
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...
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