The Script Activity in Azure Data Factory
Learn about using the Script activity in Azure Data Factory to run DDL or DML statements.
2022-05-13
19,967 reads
Learn about using the Script activity in Azure Data Factory to run DDL or DML statements.
2022-05-13
19,967 reads
Learn how Azure Data Factory charges you for use and how to estimate what your charges would be based on a few examples.
2022-04-04
26,078 reads
2022-03-25
3,773 reads
Learn how to protect production resources from accidental changes in Azure Data Factory.
2022-03-16
1,536 reads
Introduction Azure Synapse Analytics is an enterprise analytics service that brings together popular data warehouse technologies and big data systems together. It provides SQL for enterprise data warehousing, Spark technologies for big data, Data explorer for analytics, Pipeline for data integration and ETL and ELT, and other popular Azure services including Power BI, CosmosDB, and […]
2022-03-11
1,458 reads
This short piece shows how to add logging for the Delete activity and track which files or folders are deleted.
2022-02-04
1,381 reads
Introduction In this article, we will talk about a newly introduced activity in Azure Data Factory, which is the fail activity. The fail activity is very useful to stop or fail the pipeline at the specified point. For example, a lookup activity might return no data or a switch activity executes the default block. We […]
2022-01-24
7,207 reads
Learn about enabling soft-delete for your Azure Storage containers.
2022-01-21
1,938 reads
This article shows how to create a data driven ADF pipeline.
2021-11-22
6,588 reads
2021-11-17
8,433 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