The DISPLAY/PUNCH KEY statement displays a table procedure key definition stored in the dictionary.
To issue a DISPLAY KEY statement, you must either own or hold the ALTER privilege on the table procedure on which the key being displayed or punched is defined.
►►─┬─ DISplay ─┬─── KEY key-name ON ──┬────────────────┬── procedure-name ────► └─ PUNch ───┘ └─ schema-name. ─┘ ►─┬─────────────────────────────────────────────────────────────────────┬────► └──┬─ WITh ─────────┬──┬─ ALL ───────────────┬─── AS ─┬─ COMments ◄──┬┘ ├─ ALSo WITh ────┤ ├─ NONe ──────────────┤ └─ SYNtax ─────┘ ├─ WITHOut ──────┤ ├─ DETails ───────────┤ └─ ALSo WITHOut ─┘ └─ HIStory ───────────┘ ►─┬───────────────────────┬──────────────────────────────────────────────────►◄ └─ VERb ─┬─ CREate ◄──┬─┘ ├─ DISplay ──┤ ├─ DROp ─────┤ └─ PUNch ────┘
Specifies the name of a key on a table procedure.
Identifies the schema associated with the table procedure.
If you do not specify a schema-name it defaults to the current schema associated with your SQL session, if the statement is entered through the Command Facility or executed dynamically.
Specifies the name of the procedure or table procedure on which the key is defined. The procedure-name must identify a procedure or table procedure defined in the dictionary.
Lists the requested information, in addition to the information that is always included, such as the entity occurrence name.
Does not list the specified options. Other options in effect through the WITH or ALSO WITH clauses in the current DISPLAY statement are displayed.
Lists the requested information, in addition to the information requested in previously issued DISPLAY WITH and DISPLAY ALSO WITH statements for the key.
Does not list the specified options.
Specifies the display of all the information associated with the requested key.
Specifies the display of the name of the requested key. NONE is meaningful only when the WITH clause is specified.
Specifies the display of key-specific descriptions.
Specifies the display of the date the key was created.
Outputs key syntax as comments with the characters *+ preceding the text of the statement. AS COMMENTS is the default.
Outputs key syntax which can be edited and resubmitted to the command facility.
Specifies the verb with which the key statement is to be displayed or punched. For example, if VERB CREATE is specified, the output of the DISPLAY/PUNCH statement is a CREATE statement; if VERB ALTER is specified, the output is an ALTER statement; and so on. The default is VERB CREATE.
|
Copyright © 2014 CA.
All rights reserved.
|
|