Changes the way attributes are defined on OBJECT statements. MODIFY statements are read after OBJECT statements.
MODIFY obj_name att_name [status_type;] [ON_NEW DEFAULT|SET value|NOW ;]|
[ON_CI DEFAULT|SET value|NOW ;]|
[ON_DB_INIT DEFAULT|SET value|NOW ;]
Identifies the object whose attribute is being modified.
Identifies the attribute being modified.
Modifies the properties of the attribute to allow or prohibit null values. There are two valid options for this keyword:
Indicates that the attribute is required.
Indicates that the attribute is not required.
See ON Statements for a description of these statements.
The following example changes the salary attribute in the emp object so that it is now a required attribute:
MODIFY emp salary REQUIRED;
Example
The following example changes the address2 attribute in the emp object so that is now not required.
MODIFY emp address2 NOT_REQUIRED;
|
Copyright © 2013 CA.
All rights reserved.
|
|