Connector Editorial for July 29,2009
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-07-28
1,450 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-07-28
1,450 reads
I ran across this a while back and it’s been on my ‘to blog about’ list for too long. Open...
2009-07-28
1,468 reads
Bill Graziano just made the announcement about the changes to the bylaws being published. No sweeping changes, for the most...
2009-07-28
564 reads
Just in case you don’t read the Connector today, here’s a link to an interview that PASS HQ did with...
2009-07-28
1,551 reads
I had hoped to announce this much sooner, sometimes the wheels turn slowly. But turn they do! We’re back at...
2009-07-28
1,461 reads
Steve Jones sent me this link on time management that discusses two things – getting ‘ambushed’ at the start of the...
2009-07-28
1,614 reads
Learn how you can configure your SQL Server instance using T-SQL code and sp_configure. MVP Andy Warren hosts this SQL School video.
2009-07-28
5,033 reads
2009-07-28
514 reads
We (Brian, Steve, and I) provided hosting for SQL chapters going way back…maybe 2002 or 2003, on behalf of PASS....
2009-07-27
538 reads
Sometime in the next couple weeks will mark the beginning of the 30 day period where we accept nominations for the...
2009-07-26
1,010 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