VMware Updates In-Guest Clocks When You Say Not To
VMware’s VMTools package has some options for synchronizing the in-guest clock with the time of the ESXi host. By default,...
2017-03-16 (first published: 2017-03-06)
817 reads
VMware’s VMTools package has some options for synchronizing the in-guest clock with the time of the ESXi host. By default,...
2017-03-16 (first published: 2017-03-06)
817 reads
This problem was first flagged by a daily operational validation test I wrote using everything in my recent webinar to...
2017-03-15
236 reads
My database is in the recovery pending state and I want to get in and extract the data out into...
2017-03-15
367 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-03-15
610 reads
Redgate just launched SQL Clone, a new product that can provision copies of databases in seconds. By copies, I mean...
2017-03-15 (first published: 2017-03-06)
1,503 reads
I previously talked about PolyBase and its enhancements (see PASS Summit Announcements: PolyBase enhancements). There is some confusion on PolyBase use...
2017-03-15
628 reads
Roles and Permissions
Some of my recent articles have been focused on permissions and security. There is good reason for that – security...
2017-03-15 (first published: 2017-03-06)
3,106 reads
I’ve written a few articles on containers so I thought it’d be a good idea to have a page that...
2017-03-15
362 reads
SQL in the City Streamed in 2016 was a success, with lots of feedback that people enjoyed the sessions and...
2017-03-15
688 reads
I hope you all can join me for an upcoming webinar as part of theDatacenter Madness webinar series, presented by...
2017-03-15
331 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