Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Script Activity | Grundlagen von Azure Data Factory
Einführung in die Datenverarbeitung mit Azure

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.

Note
Definition

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

  1. Start by dragging the Script Activity from the Activities pane onto the pipeline canvas in Azure Data Factory Studio;
  2. Link the Script Activity to your database by selecting a pre-configured Linked Service;
  3. Open the Script tab and write your SQL commands, such as creating, modifying, or dropping database objects;
  4. Validate the pipeline.
question mark

How does the Script Activity differ from the Copy Activity in Azure Data Factory?

Wählen Sie die richtige Antwort aus

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 4

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

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.

Note
Definition

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

  1. Start by dragging the Script Activity from the Activities pane onto the pipeline canvas in Azure Data Factory Studio;
  2. Link the Script Activity to your database by selecting a pre-configured Linked Service;
  3. Open the Script tab and write your SQL commands, such as creating, modifying, or dropping database objects;
  4. Validate the pipeline.
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 4
some-alt