The update procedure for a data warehouse object can be generated by RED using parameters provided by the user, or it can be generated using a prepared template. Templates appropriate to the table type must first be created before they can be selected and used to generate update procedures. The option to select a template is only available if RED detects the presence of an appropriate template.
|
If RED does not detect a template, the drop-down options to rebuild with or without a template is not displayed in the Rebuild button. In this case, RED will manually regenerate the update procedure when Rebuild is clicked, by prompting the user to respond to a series of input requests. Refer to the Generating Update Procedure topic in each of the data warehouse object sections, for further information and the steps to manually generate update procedures.
If RED detects the presence of a template, the Rebuild button provides additional options, in a drop down list, for rebuilding the selected update procedure. Two additional rebuild options are provided:
When you click the Rebuild button, RED rebuilds the procedure using the last selected option as the default method. If a template has not been previously used, then RED prompts you for inputs as required for the rebuild.
|
The following table summarizes the conditions that will display the drop-down options in the Rebuild button or that require a template. All other conditions will require a manual rebuild.
Table Object | SQL Server | Oracle | Teradata | DB2 | Greenplum | Netezza | Hive/PDW/Custom |
|---|---|---|---|---|---|---|---|
Stage | Both | Both | Both | Both | Both | Both | Template Only |
Data Vault Stage | Template Only | Template Only | Template Only | Template Only | Template Only | Template Only | Template Only |
Fact | Both | Both | Both | Both | Both | Both | Template Only |
Fact Rollup | Both | Both | RED Automation Only | Both | RED Automation Only | RED Automation Only | Template Only |
Fact KPI | Both | Both | RED Automation Only | Both | RED Automation Only | RED Automation Only | Template Only |
Aggregate | Both | Both | Both | Both | RED Automation Only | RED Automation Only | Template Only |
Dimension | Both | Both | Both | Both | Both | Both | Template Only |
Data Store | Both | Both | Both | Both | Both | Both | Template Only |
Normal, Hub, Link, Satellite, Custom1 or 2 | Both | Both | Both | Both | Both | Both | Template Only |
Both | This object type / database combination supports both RED automation for code generation and template based code generation. |
RED Automation only | This object type / database combination uses RED automation for code generation and template based code generation is not currently available. |
Template only | This object type / database combination only supports template based code generation. |