Sql Record To Variables Dynamic Action

About

The Sql Record To Variables Action loads variable values from a Sql/Database Table Record, where the field names represents the variables names and the field values represents the variables values.

SQl Example

Sql Record To Variables Action - SQL Example

Metadata tab

Sql Record To Variables Action - Metadata tab

  1. The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
  2. This option is typically used for debugging and is not recommended in a production environment.
  3. It can be globally disabled through the options dialog .

Parameters tab

Sql Record To Variables Action - Parameters tab

Tips

  • The “Replace Variables” parameter is used to substitute variables within SQL statements.
  • When the “UseEmbeddedSQL” is set to True EmbeddedSQL is used, otherwise SQL Script/Lookup is used.
Sql Record To Variables Action - UseEmbeddedSQL Parameter

Selecting Script

Sql Record To Variables Action - Selecting SQL Script Parameter

Editing Script

Sql Record To Variables Action - Editing SQL Script Parameter

Selecting Connection

Sql Record To Variables Action - Editing Connection Parameter

Variables tab

The Variables tab defines the variables to be updated during the action’s execution.

Sql Record To Variables Action - Variables tab

Execution log tab

The Execution log tab is populated after the action is executed. Double click on the row to view the log.

Sql Record To Variables Action - Execution log tab
  1. Load Variable Action
  2. Save String Action
  3. Delete Variable Action
  4. Select Value Action
  5. Set Variables Action
  6. File to Variables Action
  7. File Line to Variables Action
  8. SQL to Variables Action
  9. Command Line Parameters Action

For more technologies supported by our ETL Software see Advanced ETL Processor Versions

Confused? Ask question on our ETL Forum

Posted on September 17, 2025 • 2 min read • 274 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License