The User Defined SQL tab is identical for the physical property editors that use it. Use the User Defined SQL tab to view and change a user-provided DDL statement. This user-generated script will be used in place of the forward-engineered script based on the values set.
To define user-defined SQL code
The User Defined SQL tab opens.
Select the User-Defined SQL check box to change the SQL code in the SQL Statement box. Select this check box only if you want the object to contain syntax that CA ERwin Data Modeler cannot represent, for example, a UNION statement. When you select this check box, you no longer maintain references to the base tables and columns to which the object refers.
Click an icon to cut, copy, or paste text, or to work with the Text Editor. To add an ERwin macro, click the Macro Editor icon to open the Macro Toolbox. This option is not available if the code type is Assembly.
The property editor closes.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |