SSDT Deploy / Publish Performance
Publishing dacpac’s is a little bit of a pain when you have multiple databases, it can easily start to take...
2017-03-01
14 reads
Publishing dacpac’s is a little bit of a pain when you have multiple databases, it can easily start to take...
2017-03-01
14 reads
Publishing dacpac’s is a little bit of a pain when you have multiple databases, it can easily start to take...
2017-03-01
44 reads
Publishing dacpac's is a little bit of a pain when you have multiple databases, it can easily start to take minutes to hours to deploy changes depending on how...
2017-03-01
15 reads
Publishing dacpac’s is a little bit of a pain when you have multiple databases, it can easily start to take...
2017-03-01
40 reads
Publishing dacpac's is a little bit of a pain when you have multiple databases, it can easily start to take...
2017-03-01
1,276 reads
One of my client requirement is to install Always on availability groups for SQL databases. You don't require shared storage to setup Always on availability. it can be configured...
2017-03-01
17 reads
One of my client requirement is to install Always on availability groups for SQL databases. You don't require shared storage...
2017-03-01
3,031 reads
I saw this week that there was a new CTP (v1.3) of SQL Server v.Next. I haven’t had a lot...
2017-03-01 (first published: 2017-02-23)
4,861 reads
They kinda suck. I mean it is nice that we have the option for the SQL Agent to tell us...
2017-02-28 (first published: 2017-02-23)
3,519 reads
Issue: I am trying to load data from Excel 97 – 2003 sheet into a database table. I have written a...
2017-02-28 (first published: 2017-02-21)
4,891 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