The Macro Browser is available when your target DBMS is Teradata. Use the Macro Browser to see the tables and views that are attached to a macro and to view the code that is used by a particular macro template. You can also attach tables and views in your model to existing macros.
To attach or detach a Teradata table or view to a macro
The Teradata Macro Browser opens.
Lists the name of each table-level macro template in the model.
Displays the first line of the macro template, which can include SQL statements and macros.
Lists all tables and views in the model that are not attached to the selected macro template. Use the arrow to attach the selected table or view to the selected macro template.
Lists the tables and views that are attached to the selected macro template. Use the arrow to detach the selected table or view from the selected macro template.
Displays the template code for the selected macro template. You change the code for the macro template in the Macros dialog.
Displays the expanded code for the selected macro template. Expanded code is the code that will appear in the schema script when the schema is generated.
Select this check box to attach the macro template to each new table that you create. Clear this check box if you want to manually attach the macro template to new tables.
The Teradata Macro Browser dialog closes.
Copyright © 2012 CA. All rights reserved. |
|