Surrogate Key Generator In Datastage 8.1 With Example
Posted By admin On 16.12.20May 11, 2014 In this example, SupplierCode is the natural key and SupplierKey is a surrogate key. Technically, the surrogate key is not necessary, since the table will be unique by the natural key (SupplierCode). However, the joins will perform better on an integer than on a character string. Surrogate Key Generator Implementation in Datastage 8.1, 8.5 and 9.1. /free-monster-hunter-world-steam-key-generator.html. The Surrogate Key Generator stage is a processing stage that generates surrogate key columns and maintains the key source. https://ameblo.jp/alunizun1971/entry-12632417970.html. A surrogate key is a unique primary key that is not derived from the data that it represents, therefore changes to the data will not change the primary key.
Supplier_Key | Supplier_Code | Supplier_Name | Supplier_State |
123 | ABC | Acme Supply Co | CA |
Supplier_Key | Supplier_Code | Supplier_Name | Supplier_State |
123 | ABC | Acme Supply Co | IL |
Supplier_Key | Supplier_Code | Supplier_Name | Supplier_State | Version |
123 | ABC | Acme Supply Co | CA | 0 |
124 | ABC | Acme Supply Co | IL | 1 |
Datastage Surrogate Key Generator
Supplier_Key | Supplier_Code | Supplier_Name | Supplier_State | Start_Date | End_Date |
123 | ABC | Acme Supply Co | CA | 01-Jan-2000 | 21-Dec-2004 |
124 | ABC | Acme Supply Co | IL | 22-Dec-2004 |
- Source file that comes from the OLTP sources
- Old dimesion refernce table link
- The SCD stage
- Target Fact Table
- Dimesion Update/Insert link
Surrogate Key Generator In Datastage 8.1 With Example Pdf
- Generation the new Surrogate key values to be passed to the dimension and fact table
- Mapping the source columns with the source column
- Setting up of the expired values for the old rows
- Defining the values to mark the current active rows out of multiple type rows