Script Activity
The Script Activity in Azure Data Factory is a powerful tool that allows you to execute SQL scripts as part of your data pipelines. This feature is particularly useful for tasks such as managing database schemas, performing updates, or running any custom SQL commands needed to prepare or manage your data infrastructure.
Unlike the Copy Activity, which is focused on moving data, the Script Activity is designed to modify, update, or interact with the database itself. It is commonly used in scenarios such as adding or removing columns, creating or dropping tables, or applying business rules through stored procedures.
How to Use Script Activity
- Start by dragging the Script Activity from the Activities pane onto the pipeline canvas in Azure Data Factory Studio;
- Link the Script Activity to your database by selecting a pre-configured Linked Service;
- Open the Script tab and write your SQL commands, such as creating, modifying, or dropping database objects;
- Validate the pipeline.
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 4.17
Script Activity
Swipe to show menu
The Script Activity in Azure Data Factory is a powerful tool that allows you to execute SQL scripts as part of your data pipelines. This feature is particularly useful for tasks such as managing database schemas, performing updates, or running any custom SQL commands needed to prepare or manage your data infrastructure.
Unlike the Copy Activity, which is focused on moving data, the Script Activity is designed to modify, update, or interact with the database itself. It is commonly used in scenarios such as adding or removing columns, creating or dropping tables, or applying business rules through stored procedures.
How to Use Script Activity
- Start by dragging the Script Activity from the Activities pane onto the pipeline canvas in Azure Data Factory Studio;
- Link the Script Activity to your database by selecting a pre-configured Linked Service;
- Open the Script tab and write your SQL commands, such as creating, modifying, or dropping database objects;
- Validate the pipeline.
Thanks for your feedback!