Daylight Saving Time and SQL Server
If you're in the United States, chances are you've already heard about Daylight Saving Time (DST) occurring 3 weeks early...
2007-02-13
2,680 reads
If you're in the United States, chances are you've already heard about Daylight Saving Time (DST) occurring 3 weeks early...
2007-02-13
2,680 reads
I have put the Midlands PASS site online temporarily at Truth Solutions. You can reach it here:
http://www.truthsolutions.com/MidlandsPASS/
The slides from Paul...
2007-02-12
1,622 reads
I've been writing the editorials for over two years now and it's become an almost daily part of my life....
2007-02-11
1,461 reads
We are postponing
due to the weather. Training Concepts has shut down for the day due to the wintry
mix....
2007-02-01
1,304 reads
I meant to blog on this last month but work has been just a touch short of insane. I like...
2007-01-31
1,511 reads
Having cut my teeth on SQL Server 2000, I had some (but not a lot) of DTS experience. Recently I...
2007-01-30
1,388 reads
Our next meeting will be on
Thursday, February 1, 2007, at 6:30 PM.
It'll be at the Training Concepts facility once...
2007-01-30
1,525 reads
Jim Gray is missing at sea. A sad day for database professionals and Mr. Gray's family. He is reporting missing...
2007-01-30
1,485 reads
I've been looking at getting an MP3 player for a while now because I want to make better use of...
2007-01-27
1,552 reads
Our next meeting
will be on Thursday, February 1, 2007, at
6:30 PM. It'll be at the Training Concepts facility once...
2007-01-26
1,417 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