Defining Teradata Script Templates
The following properties are applicable to a Teradata Script Template object.
Tab |
Property |
Description |
Additional Information |
---|---|---|---|
Name |
Specifies the name of the script template | ||
Type |
Specifies whether the script template type is applied to models or tables |
Model Level: Indicates that the script template is applied for database models Table Level: Indicates that the script template is applied for database tables |
|
Generate As |
Specifies to generate the script template before or after the DDL statement is generated |
Post-Creation: Indicates that in the DDL, the script template code is inserted after the object creation statements Pre-Creation: Indicates that in the DDL, the script template code is inserted before the object creation statements |
|
Attach to New |
Specifies whether the script template must be attached to each new table that you create | Available only when Type is set to Table Level | |
Generate | Specifies whether a DDL statement is generated for the script template during forward engineering | ||
Code | Specifies the template code of the script template that can include SQL statements and macros | ||
Expanded | Expanded Code (Read Only) | Specifies the expanded code of the script template | |
Context | Specifies the table or view for which the expanded code must be generated | Available only when Type is set to Table Level | |
Comment | Specifies comments about the script template | ||
Object Creation Order | Specifies the order of DDL generation for script templates |
Copyright © 2024 Quest Software, Inc. |