Skip to content
  • There are no suggestions because the search field is empty.

Same As Business Link

Applies to
Platform: Microsoft SQL Server · Snowflake · Snowflake dbt · Databricks · Databricks dbt · Fabric Lakehouse · Fabric Warehouse · Oracle
Architecture: Data Vault

A Same As Business Link stores pairs of keys of one Hub or Business Hub that identify the same business object, in a table of the Business Vault layer. Use it when a business rule decides from Raw Vault data which keys are duplicates of a main key. After each load, the result view shows one row per pair and the load that first delivered it.

A Same As Business Link works like a Same As Link. It differs in its sources, its layer, its relationship targets and the BDV_ prefix of its objects. Earlier versions of this article spelled the type "Same as Business Link".

Sources and relationships

A Same As Business Link reads the result views of Raw Vault objects, in one or more dataflows: Hubs, all Link types, all satellite types, Current Views and History Views. It also reads BusinessVault Composites. It has exactly two relationships, both to the same Hub or Business Hub, with roles. The foreign-key terms are the business keys of the Same As Business Link. The source delivers the pairs; the Same As Business Link does not find duplicates itself.

Vault Out can read it as a source.

Create a Same As Business Link

A Same As Business Link holds only foreign-key terms and Default Terms. Validation reports an error for any other term.

Properties

Default Terms

Generated objects

The part flow of Same As Business Link shows which parts it can get and under which settings; the legend explains the symbols.

Part flow of Business Driving Key Link, Business Link, Driving Key Link, Hierarchical Business Link, Hierarchical Link, Link, Same As Business Link and Same As Link, top to bottom. The main path on the left, with the default settings, runs _Source, _Hashing, _Delta, _Loader, Table, _Result. Decisions with their values, the default or main value first: Deduplication Method (None; Distinct, Partition); Before-load rule (no; yes); Load Caching (empty; Hashing); Create Result Views (true; false); Logging (yes); Use Embryo Loader (true). Detours add the other parts: _Deduplication, _DataQualityLoader, _DataQualityTable, _DataQualityResult, _DataQualityBeforeLoadAction, _DataQualityError, _HashingLoader, _HashingTable, _EmbryoLoader.

These are the names on Microsoft SQL Server for the Same As Business Link load_bsal with one dataflow:

RoleGenerated namePurposeGenerated when
SourceBDV_SAL_load_bsal_SourceReads the sourcesAlways
DeduplicationBDV_SAL_load_bsal_DeduplicationRemoves duplicate rowsDeduplication Method Distinct or Partition
DataQualityLoaderBDV_SAL_load_bsal_DataQualityLoaderChecks the rules and fills the data quality tableAn active rule that runs before the load
DataQualityStorageBDV_SAL_load_bsal_DataQualityTableHolds the rows and their check resultsAn active rule that runs before the load
DataQualityBeforeLoadActionBDV_SAL_load_bsal_DataQualityBeforeLoadActionApplies the rule actions before the loadAn active rule that runs before the load
IntermediateResultBDV_SAL_load_bsal_DataQualityResultPasses the rows to loadAn active rule that runs before the load
ErrorBDV_SAL_load_bsal_DataQualityErrorHolds the rows that break a ruleAn active rule with Logging
HashingBDV_SAL_load_bsal_HashingCalculates the hash keysAlways
HashingStorageBDV_SAL_load_bsal_HashingTableStores the hashed rowsLoad Caching Hashing
HashingLoaderBDV_SAL_load_bsal_HashingLoaderFills the hashing tableLoad Caching Hashing
EmbryoLoaderBDV_SAL_load_bsal_EmbryoLoaderAdds missing Hub keysUse Embryo Loader on a relationship
DeltaBDV_SAL_load_bsal_DeltaSelects new pairsAlways
LoaderBDV_SAL_load_bsal_LoaderInserts the new rowsAlways
StorageBDV_SAL_load_bsalSame As Business Link tableAlways
ResultBDV_SAL_load_bsal_ResultQuery viewCreate Result Views true
  • The table script inserts the unknown-member row with hash keys of zeros. The result view hides it.

Generated parts of model objects shows the order in which a load runs the parts and the settings that add or remove them.

The source view reads the result views of its sources. The hashing view calculates Link_HK and the Hub key of each role. The delta view keeps the rows whose Link_HK is not in the result view, and the loader inserts them with the load timestamp. The loader never updates or deletes rows.

Example

The Same As Business Link load_bsal on Microsoft SQL Server reads the Same As Link load_sal of the Raw Vault. Its two relationships go to the Hub load_customer_hub, with the roles CUSTOMER for the main key and CUSTOMER1 for the duplicate. The Raw Vault and then the Same As Business Link load four times:

  • Load 1 on 2026-10-28 08:00: customer 4 is a duplicate of customer 1.
  • Load 2 on 2026-10-29 08:00: customer 5 is a duplicate of customer 2.
  • Loads 3 and 4 on 2026-10-30 and 2026-10-31 08:00: no new pair.

Check the result

Query the result view, here in the schema p3b:

SELECT FK_load_customer_hub_CUSTOMER_CUSTOMER_ID AS CUSTOMER_ID,
       FK_load_customer_hub_CUSTOMER1_CUSTOMER_ID AS DUPLICATE_ID,
       BG_LoadTimestamp
FROM p3b.BDV_SAL_load_bsal_Result
ORDER BY CUSTOMER_ID;

This is the result after load 4:

CUSTOMER_ID  DUPLICATE_ID  BG_LoadTimestamp
1            4             2026-10-28 08:00
2            5             2026-10-29 08:00
  • Each pair was inserted by the load that first delivered it.
  • Loads 3 and 4 inserted no row.

Platform differences

The rules for names, loaders, deployment, platform properties and defaults are in Model object types on each platform. The Same As Business Link differs from them in these points:

  • Snowflake: the load control task LC_BDV_SAL_<model object name>_TASK calls the loader, and the task LC_BDV_SAL_<model object name>_EMBRYOTASK calls the embryo loader.

Limitations

  • A Same As Business Link has exactly two relationships to the same Hub or Business Hub and no terms other than foreign keys and Default Terms. Validation reports an error otherwise.
  • A dataflow that delivers the same pair twice in one load makes the loader fail with a primary key violation. A Deduplication Method removes such duplicates before hashing.

Release differences

  • Generator 2.2: Use Embryo Loader is available.
  • Generator 2.3: Custom Singleton Values is available.

Related articles