You can use the Teradata Macro Editor to define a set of statements that are frequently used or that perform a complex operation in a Teradata physical model.
To define a Teradata macro
The Teradata Macro Editor opens.
Note: Click New on the toolbar to create a new macro. Use the Enter filter text text box to filter a very large list of macros to quickly locate the one you want to work with.
Specifies the name of the macro.
Specifies the schema of the database to which the table belongs. Select from the drop-down list.
Shows the type of the macro. Select from the drop-down list. Valid values are Model Level or Table Level.
Specifies if upon creating a new (table-level only) table, this script will automatically be attached to it.
Specifies if the macro is enabled or not.
Lets you select whether Forward Engineering will use the REPLACE command instead of the CREATE command.
Generates DDL for this object during Forward Engineering.
Specifies whether the DDL for this object must be generated as pre-script. Valid values are true or false.
The Teradata Macro Editor closes.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|