2024-09-09
4,570 reads
2024-09-09
4,570 reads
Learn how to get started with Git and Visual Studio Code.
2024-08-05
6,502 reads
In this article, you will learn how a team can start to better manage the scripts they use for their daily work.
2024-07-01
8,059 reads
Git is a good tool for DBAs and other Operations staff. Today Steve gives you a few reasons why.
2024-02-14
513 reads
Learn a step-by-step method to save your ADF pipelines in Git and automatically release new changes to test and production.
2024-09-23 (first published: 2023-10-16)
2,872 reads
In this first level of the Stairway to DevOps, you will learn how to get version control set up on your local machine and connect to an Azure DevOps repository.
2023-10-16 (first published: 2023-09-13)
3,155 reads
2023-08-28
324 reads
2023-08-25
417 reads
2023-02-06 (first published: 2023-01-27)
536 reads
Learn how to get started with Git and avoid the command line by using VS Code or Azure Data Studio.
2022-05-11
5,050 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