Run SQL Server In A Container Today July 2015
Containers are one of the big things at the moment, Microsoft has recently announced that they will be bringing official...
2015-07-03
812 reads
Containers are one of the big things at the moment, Microsoft has recently announced that they will be bringing official...
2015-07-03
812 reads
It is a constant source of frustration for some people that it is hard to download SSDT or SSDT-BI or you download the wrong thing.
This is an example of...
2015-06-30
24 reads
It is a constant source of frustration for some people that it is hard to download SSDT or SSDT-BI or...
2015-06-30
1,392 reads
It is a constant source of frustration for some people that it is hard to download SSDT or SSDT-BI or...
2015-06-30
255 reads
It is a constant source of frustration for some people that it is hard to download SSDT or SSDT-BI or...
2015-06-30
221 reads
This is part of a series on how to take the Adventureworks database and bring it inline with modern standards....
2015-06-24 (first published: 2015-06-12)
1,330 reads
It isn't a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run some T-SQL scripts before the script which brings your...
2015-06-24
22 reads
It isn't a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run...
2015-06-24
868 reads
It isn’t a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run...
2015-06-24
82 reads
It isn’t a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run...
2015-06-24
46 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