You can use the Method editor to define the body of a method that is associated with a user-defined type in a Teradata physical model. You access the Method Editor from the Domains node in the Model Explorer. If no methods exist on a selected domain, click New to create the method before attempting to open the Method Editor.
To define Teradata methods
The Method Editor opens.
Note: Click New
on the toolbar to create a new method.
Specifies the name of the method.
Generates DDL for this object during Forward Engineering.
Lets you select whether Forward Engineering will use the REPLACE command instead of the CREATE command.
Select to specify the method type is returning the actual user type (preserving).
Select to specify if debug symbols are to be produced.
Select to specify if the database function returns the same results given the same input (deterministic).
Specifies whether a method will be called if a parameter is null. Select from the drop-down list. Valid values are: Called or Returns Null.
Specifies whether the parameters are SQL or Teradata style. Select from the drop-down list. Valid values are: SQL or Teradata General.
A string that identifies the method as a database object.
Specifies whether the SQL statements are permitted in the function. Select from the drop-down list.
The Method Editor closes.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |