Historization
On this page
Object reference — Historization
Edit a historization from the Historization list by opening its row. The definition needs an input table, a history target and a Historization package. Use the Definition tab to review mappings before configuring filters, dates and the generated procedure.
All windows and pages · Common controls and reading this reference
- Definition and column policies: check the package, mapped columns and SCD policy for each attribute.
- Filters and Scripts: control which rows participate and what runs before or after processing.
- Procedure: inspect the SQL definition. Use Special columns for technical dates and history-chain keys.
- Options, History behaviour, Validity dates, Empty source and Missing sources: configure how a load runs and which versions it keeps.
Related objects
Related guidance
Controls
Find a control
General
- HISTORIZATION / DEFINITION
- Cancel
- Save
- Package
- Panel divider
- Definition
- Filters
- Scripts
- Procedure
- Special columns
- Options
- History behaviour
- Validity dates
- Empty source
- Missing sources
- Procedure generation
Definition
Definition / Columns
Definition / DataGrid
Definition / Variables
Filters
- Detect new and changed data Filter for source table Please use [I] alias like [I].[ModifyDate]
- Detect new and changed data Filter for historicized table Please use [S] alias like [S].[ModifyDate]
- Detect deleted data Filter for source table Please use [I] alias like [I].[ModifyDate]
- Detect deleted data Filter for historicized table Please use [S] alias like [S].[ModifyDate]
Scripts
Procedure
Special columns
- Column to store technical valid from date
- Column to store technical valid to date
- Column to store root surrogate key
- Column to store previous surrogate key
- Column to store next surrogate key
- Default
- Default
- Default
- Default
- Default
Options
- Rows per batch
- Requested SSIS data-flow buffer size in bytes
- Maximum number of rows committed together during fast-load insertion
- Preserve incoming NULL values instead of replacing them with destination column defaults during bulk loading
- Preserve incoming identity values instead of generating new identity values at the destination
- Request a table-level lock during bulk loading
- Check destination constraints during bulk loading
- Expected number of rows per bulk-load batch, supplied as a loading hint
- Default
- Default
- Default
- Default
- Default
- Default
- Default
- Default
- Use HASH JOIN
History behaviour
- Update Statistics
- Use VAULT ID as PK
- Insert only (no PK)
- Source is historicised
- Truncate historized table
- Persist source
- Check source for duplicates
- Delete future history if it exists
Validity dates
Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.
Empty source
Missing sources
Procedure generation
The entries include tabs, grid columns, fields and context-menu actions. Repeated captions can belong to different grids or menus. Selection-dependent and initially hidden controls are included; inclusion is not a promise that every control is visible at once. Fixed choices below are declared choices, not a platform support matrix.
XAML preview
WPF renders the compiled XAML view with the application styles and empty fields. The image variant follows the documentation color theme.
Definition

General
Definition
Sets the package and mapped columns, including per-column SCD policy and empty-record values.
Location: General. Control: Tab.
Definition
Columns
Location: Definition. Control: Table/grid.
Definition / Columns
Column name
Source field whose change-handling rule is configured in this row.
Location: Definition / Columns. Control: Dropdown column.
Declared read-only.
SCD Type
Sets the per-column policy: SCD0 preserves the original value, SCD1 updates in place and SCD2 participates in creating a version. New mapping rows start with SCD2. Clicking the column header cycles the policy on every mapped row.
Location: Definition / Columns. Control: Dropdown column.
Declared choices: None, SCD1, SCD2.
Empty value
Value used for this field when historization adds an empty record for a missing source row.
Location: Definition / Columns. Control: Text column.
Use last value as empty value
When Add empty record is enabled for missing source records, copy this field from the closing current record into the newly inserted empty record. Otherwise the configured empty value is used.
Location: Definition / Columns. Control: Checkbox/status column.
Definition
Panel divider
Drag to resize the adjacent panels. This changes presentation, not stored data values.
Location: Definition. Control: Panel divider.
Rows
Location: Definition. Control: Table/grid.
Definition / DataGrid
Column name
Technical column name used in the generated database definition.
Location: Definition / DataGrid. Control: Text column.
Statement
Expression calculating this additional historization field.
Location: Definition / DataGrid. Control: Text column with editor.
Data Type
Data type assigned to this column.
Location: Definition / DataGrid. Control: Dropdown column.
MaxLength
Maximum length configured for this data type; applicable to types that support a length.
Location: Definition / DataGrid. Control: Text column.
NumScale
Number of digits to the right of the decimal point.
Location: Definition / DataGrid. Control: Text column.
NumPrec
Total number of digits configured for a numeric value.
Location: Definition / DataGrid. Control: Text column.
Empty value
Value used for this field when historization adds an empty record for a missing source row.
Location: Definition / DataGrid. Control: Text column.
Definition
Variables
Location: Definition. Control: Table/grid.
Definition / Variables
Variable
Variable name used by this operation.
Location: Definition / Variables. Control: Text column.
Type
Data type of this operation variable.
Location: Definition / Variables. Control: Dropdown column.
Declared choices: String, Integer, Boolean.
Description
Descriptive documentation for this object or field; it is not an executable expression.
Location: Definition / Variables. Control: Text column with editor.
Expression
Expression evaluated to obtain the variable value.
Location: Definition / Variables. Control: Text column with editor.
Initial value
Initial value assigned to this variable before evaluating any configured expression.
Location: Definition / Variables. Control: Text column.
Filters

General
Filters
Sets independent source and destination SQL predicates for change detection and missing-record detection.
Location: General. Control: Tab.
Filters
Detect new and changed data Filter for source table Please use [I] alias like [I].[ModifyDate]
SQL predicate on source rows used to detect new and changed records. Enter the condition without WHERE and qualify source columns with I.
Location: Filters. Control: SQL editor.
Detect new and changed data Filter for historicized table Please use [S] alias like [S].[ModifyDate]
SQL predicate restricting history rows considered during change detection. Use the S alias and omit WHERE.
Location: Filters. Control: SQL editor.
Detect deleted data Filter for source table Please use [I] alias like [I].[ModifyDate]
SQL predicate restricting source rows considered during missing-record detection. Use the I alias and omit WHERE.
Location: Filters. Control: SQL editor.
Detect deleted data Filter for historicized table Please use [S] alias like [S].[ModifyDate]
SQL predicate restricting history rows eligible for missing-record handling. Use the S alias and omit WHERE.
Location: Filters. Control: SQL editor.
Scripts

General
Scripts
Edit SQL that runs before or after historization, and inspect its macro-expanded text.
Location: General. Control: Tab.
Scripts
Panel divider
Drag to resize the adjacent panels. This changes presentation, not stored data values.
Location: Scripts. Control: Panel divider.
Original
Show the original script with macro expressions unchanged.
Location: Scripts. Control: RadioButton.
Parsed
Show a read-only preview with macros expanded. Edit the Original version to change the script.
Location: Scripts. Control: RadioButton.
Original
Show the original script with macro expressions unchanged.
Location: Scripts. Control: RadioButton.
Parsed
Show a read-only preview with macros expanded. Edit the Original version to change the script.
Location: Scripts. Control: RadioButton.
PreScript
Script executed before the associated operation.
Location: Scripts. Control: SQL editor.
PostScript
Script executed after the associated operation.
Location: Scripts. Control: SQL editor.
Procedure

General
Procedure
Inspect the stored procedure SQL. Automatic and manual procedure ownership determine how it is maintained.
Location: General. Control: Tab.
Procedure
Generated procedure SQL for this operation
Generated procedure SQL for this operation.
Location: Procedure. Control: SQL editor.
Special columns

General
Special columns
Configure technical validity and optional surrogate-key links between history versions.
Location: General. Control: Tab.
Special columns
Column to store technical valid from date
Names the column storing the technical start of a version in bitemporal historization.
Location: Special columns. Control: Text field.
Column to store technical valid to date
Column name used for the technical end of a record version in bitemporal historization.
Location: Special columns. Control: Text field.
Column to store root surrogate key
Column storing the surrogate key of the first record in the history chain.
Location: Special columns. Control: Text field.
Column to store previous surrogate key
Column storing the surrogate key of the preceding history version.
Location: Special columns. Control: Text field.
Column to store next surrogate key
Column storing the surrogate key of the following history version.
Location: Special columns. Control: Text field.
Options

General
Options
Set optional SSIS data-flow and bulk-load overrides and the HASH JOIN option.
Location: General. Control: Tab.
Options
Rows per batch
Sets the requested maximum number of rows per SSIS data-flow buffer.
Location: Options. Control: Text field.
Requested SSIS data-flow buffer size in bytes
Requested SSIS data-flow buffer size in bytes.
Location: Options. Control: Text field.
Maximum number of rows committed together during fast-load insertion
Maximum number of rows committed together during fast-load insertion. Zero requests a single batch.
Location: Options. Control: Text field.
Preserve incoming NULL values instead of replacing them with destination column defaults during bulk loading
Preserve incoming NULL values instead of replacing them with destination column defaults during bulk loading.
Location: Options. Control: Checkbox or status indicator.
Preserve incoming identity values instead of generating new identity values at the destination
Preserve incoming identity values instead of generating new identity values at the destination.
Location: Options. Control: Checkbox or status indicator.
Request a table-level lock during bulk loading
Request a table-level lock during bulk loading.
Location: Options. Control: Checkbox or status indicator.
Check destination constraints during bulk loading
Check destination constraints during bulk loading.
Location: Options. Control: Checkbox or status indicator.
Expected number of rows per bulk-load batch, supplied as a loading hint
Expected number of rows per bulk-load batch, supplied as a loading hint.
Location: Options. Control: Text field.
Use HASH JOIN
Choose whether to use the configured default, force HASH JOIN, or omit the HASH JOIN hint in generated historization SQL.
Location: Options. Control: Dropdown.
Parsed scripts

Scripts
PreScript
Read-only preview of the pre-script with macros expanded.
Location: Scripts. Control: SQL editor.
Initially hidden; runtime selection can change visibility. Declared read-only.
PostScript
Read-only preview of the post-script with macros expanded.
Location: Scripts. Control: SQL editor.
Initially hidden; runtime selection can change visibility. Declared read-only.
History behaviour

History behaviour
Update Statistics
Update database statistics as part of this operation to help the query optimizer choose execution plans.
Location: History behaviour. Control: Checkbox or status indicator.
Use VAULT ID as PK
Use the VAULT ID hash key instead of the source primary key to match records during historization. Recommended for composite primary keys with multiple columns, where using a hash key may improve performance.
Location: History behaviour. Control: Checkbox or status indicator.
Insert only (no PK)
Append all source rows on every run without matching primary keys, checking for changes or closing existing history versions. Running again can insert the same data again.
Location: History behaviour. Control: Checkbox or status indicator.
Source is historicised
Use the history already present in the source, with the configured Valid from and Valid to expressions, instead of detecting changes from its current state.
Location: History behaviour. Control: Checkbox or status indicator.
Truncate historized table
Clear the historized target table when using existing source history.
Location: History behaviour. Control: Checkbox or status indicator.
Persist source
Materialize the source result in a temporary table before historization to improve performance and provide a stable source for processing.
Location: History behaviour. Control: Checkbox or status indicator.
Check source for duplicates
Check the source for duplicate keys before processing history.
Location: History behaviour. Control: Checkbox or status indicator.
Delete future history if it exists
Delete existing history versions whose Valid from is later than the new Valid from. This is useful when the historization date comes from source data and records arrive out of chronological order.
Location: History behaviour. Control: Checkbox or status indicator.
Validity dates

Validity dates
Optional statements for calculating the validity period, usually the names of the date fields.
Location: Validity dates. Control: Group.
Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.
ValidFrom new keys:
Expression used for Valid from when creating the initial history version.
Location: Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.. Control: Text field.
ValidFrom existing keys:
Expression providing the historization date or source validity start.
Location: Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.. Control: Text field.
ValidTo:
Expression providing the end of the source validity period.
Location: Validity dates / Optional statements for calculating the validity period, usually the names of the date fields.. Control: Text field.
Empty source

Empty source
Continue
Continue historization when the source contains no rows.
Location: Empty source. Control: RadioButton.
Stop with error
Stop with an error when the source contains no rows.
Location: Empty source. Control: RadioButton.
Stop without error
Stop without reporting an error when the source contains no rows.
Location: Empty source. Control: RadioButton.
Missing sources

Missing sources
Close
When a record is missing from the source, close its current history version by setting Valid to to the historization date.
Location: Missing sources. Control: RadioButton.
Do not close
Keep the current history version open even when the record is missing from the source.
Location: Missing sources. Control: RadioButton.
Add empty record
When a record is missing from the source, close its current history version and add a new version. Each column uses its configured empty value or the value from the version being closed, as specified in the columns grid.
Location: Missing sources. Control: RadioButton.
Procedure generation

Procedure generation
Automatically created
Generate the historization procedure automatically from the configuration.
Location: Procedure generation. Control: RadioButton.
Manually created
Maintain the historization procedure manually in the Procedure editor.
Location: Procedure generation. Control: RadioButton.
Other controls
General
HISTORIZATION / DEFINITION
Shows the source and destination of this data-flow definition; these are context labels, not editable fields.
Location: General. Control: Data-flow header.
Cancel
Leaves this dialog or page through its close/navigation action. It does not undo actions already executed separately; follow any save prompt.
Location: General. Control: Button.
Save
Checks the Historization package and any mandatory empty-record values, saves the definition and requests procedure generation with execution disabled.
Location: General. Control: Button.
Package
Selects the package associated with this definition or reference endpoint. Choices are populated from repository metadata.
Location: General. Control: Dropdown.
The dropdown also accepts typed input.
Panel divider
Drag to resize the adjacent panels. This changes presentation, not stored data values.
Location: General. Control: Panel divider.
History behaviour
Choose how the load prepares, compares and validates input and whether it reuses existing history.
Location: General. Control: Expander.
Validity dates
Supply separate validity expressions for new keys and existing keys, and an end-date expression.
Location: General. Control: Expander.
Empty source
Choose how processing responds to an empty checked source.
Location: General. Control: Expander.
Missing sources
Choose what happens to a history version when its key is missing from the source.
Location: General. Control: Expander.
Procedure generation
Location: General. Control: Expander.
Scope
Options can depend on the selected object, its saved values and the current repository.