Data loading (RDBMS) data-loading-rdbms

The Data loading (RDBMS) activity is a Data management activity. Use this activity to load data directly from an external relational database into your workflow. The extracted data is available throughout the workflow and can be used for targeting, enrichment, or further data processing.

NOTE
To improve performance, consider using a Build audience activity (query type) with external data instead, when the amount of data to collect from the external database allows it.
A Data loading (RDBMS) activity must be the first activity of a workflow branch. It cannot be added after another activity in the canvas.

First of all, add a Data loading (RDBMS) activity as the first activity of a workflow branch.

The activity is divided into four sections:

  • Target settings: choose where the loaded data is stored. Learn more
  • Source settings: choose how to access the external database that contains the data to load. Learn more
  • Information collected: define which columns are collected from the external table. Learn more
  • Source filtering: define a filter to collect only part of the data from the external table. Learn more

Note that the last two sections only appear when the Source settings are defined.

Data loading (RDBMS) activity

Target settings target-settings

In the Target settings section, choose where the loaded data is stored. Two options are available: Default data source and Active FDA external account.

Data loading (RDBMS) activity

Default data source default-data-source

This option is selected by default. It lets you store the loaded data in the default Campaign database. You just need to select the option.

Active FDA external account active-fda-external-account

This option lets you store the loaded data in an external account.

  1. Click the button located on the right side of the Data source field.

  2. Select the account to use.

    Data loading (RDBMS) activity

Source settings source-settings

In the Source settings section, choose how to access the external database that contains the data to load. Three options are available: Shared external data source, Local external data source, and Server-defined external data source.

Data loading (RDBMS) activity

Shared external data source shared-data-source

This option is selected by default. It allows you to use an external account already configured by a Campaign administrator. Learn how to configure an external account.

  1. Click the button located on the right side of the Data source field and select the account to use.

    Data loading (RDBMS) activity

  2. Click the Browse button next to the Table name field and select the table that contains the data you want to load.

    Data loading (RDBMS) activity

Local external data source local-external-data-source

This option lets you define a connection to an external database directly in the activity, for temporary usage within this workflow only. This connection is not saved as an external account.

  1. Click the Define the data source button and select the database engine to connect to.

    Data loading (RDBMS) activity

  2. Fill in the connection fields displayed for the selected engine.

    Data loading (RDBMS) activity

  1. Enter the name of the table to load in the Table name field.

Server-defined external data source server-defined-external-data-source

This option allows you to use a database connection already defined at server level.

  1. Enter the name of the connection to use in the Connection name field.

  2. Enter the name of the table to load in the Table name field.

    Data loading (RDBMS) activity

Information collected information-collected

Once the table is set, the Information collected section lets you define which columns are collected from the external table:

  1. Check the Keep all source data option (default) if you need to collect every column of the selected table.

  2. Click Add column to extract to collect specific columns instead, or in addition.

    Data loading (RDBMS) activity

  1. Select an attribute and confirm. The attribute is added as a row with a Column field and an editable Label field. Use the delete icon to remove it.

    Data loading (RDBMS) activity

Source filtering (optional) filter

To collect only part of the data from the external table, you can define a filter:

  1. In the Source filtering section, click Edit query.

    Data loading (RDBMS) activity

  2. The query modeler opens on a dedicated screen, scoped to the schema of the selected table. Use it to build a condition on the table’s attributes. Learn how to work with the query modeler

    Data loading (RDBMS) activity

recommendation-more-help
campaign-web-help-v8