MSDTC Supported Configurations
The MSDTC Configuration Conundrum MSDTC configuration is not as straight forward as you might think. It’s a different choice if...
2018-07-12 (first published: 2018-07-06)
1,833 reads
The MSDTC Configuration Conundrum MSDTC configuration is not as straight forward as you might think. It’s a different choice if...
2018-07-12 (first published: 2018-07-06)
1,833 reads
Configure SQL Server Failover Cluster Instance If you are running a SQL Server Failover Cluster Instance on premises and looking to migrate to Azure, you might be a little...
2018-07-06
26 reads
Configure SQL Server Failover Cluster Instance If you are running a SQL Server Failover Cluster Instance on premises and looking to migrate to Azure, you might be a little...
2018-07-06
21 reads
Configure SQL Server Failover Cluster Instance If you are running a SQL Server Failover Cluster Instance on premises and looking to migrate to Azure, you […]
The post Configure SQL...
2018-07-06
16 reads
The MSDTC Configuration Conundrum MSDTC configuration is not as straight forward as you might think. It’s a different choice if you are using a local MSDTC, clustered MSDTC, on-premises,...
2018-07-06
29 reads
The MSDTC Configuration Conundrum MSDTC configuration is not as straight forward as you might think. It’s a different choice if you are using a local […]
The post MSDTC Supported...
2018-07-06
15 reads
What is a Domain Independent Cluster? Did you know that you can have a Windows cluster that is a domain...
2018-07-05
540 reads
What is a Domain Independent Cluster? Did you know that you can have a Windows cluster that is a domain independent cluster and run a SQL Server Availability Group...
2018-07-05
25 reads
What is a Domain Independent Cluster? Did you know that you can have a Windows cluster that is a domain independent cluster and run a […]
The post Domain Independent...
2018-07-05
17 reads
What is a Read-Scale Availability Group? A Read-Scale Availability Group is a Clusterless Availability Group. It’s sole purpose and design...
2018-07-05
674 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