Midlands PASS Chapter Meeting for June 6, 2007
Our next meeting will be on Thursday, June 7th, at
6:30 PM. Training Concepts will once again be our gracious...
2007-05-29
1,360 reads
Our next meeting will be on Thursday, June 7th, at
6:30 PM. Training Concepts will once again be our gracious...
2007-05-29
1,360 reads
I'll be doing a spotlight session called 'Transactional Replication for Beginners' this year. I've been speaking at the Summit since...
2007-05-29
1,378 reads
I've got a new article running on SSC today with a few more book reviews: http://www.sqlservercentral.com/columnists/awarren/2998.asp.
2007-05-23
1,434 reads
Here we are starting to see information on Katmai and I'm just getting around to an article comparing SQL 2005...
2007-05-22
1,328 reads
I've spent my spare time the last few weekends helping a non-profit called Fast Forward here in the Columbia, SC...
2007-05-21
1,510 reads
When you have an hour to spare, jump over and view this useful discussion about errors and exceptions in SQL...
2007-05-21
1,457 reads
I was at DevTeach/SQLTeach in Montreal last week. The conference was very well run and the organizers did a great...
2007-05-19
1,319 reads
It's been an interestng week here at the Microsoft BI Conference in Seattle and a first for me happened this...
2007-05-11
1,477 reads
I know writing and working on SQL Server is hard. It's a huge project and just managing that is hard....
2007-05-04
1,383 reads
Our next
meeting will be on Thursday, May
3rd, at 6:30 PM. Training Concepts will once again be our
gracious host....
2007-05-03
1,567 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