Script Activity
Swipe um das Menü anzuzeigen
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.
A Script Activity in Azure Data Factory enables you to connect to a database and execute pre-defined SQL statements directly from a pipeline.
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.
Danke für Ihr Feedback!
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
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.
A Script Activity in Azure Data Factory enables you to connect to a database and execute pre-defined SQL statements directly from a pipeline.
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.
Danke für Ihr Feedback!