The asterisk (*) wildcard can be used to specify all or part of the owner or object name parameters in a Help statement. The Help statement displays only objects to which the user has access, which are:
If wildcards are specified for both the owner and object name (*.*), Help displays all objects to which you have access. To display help information about objects you do not own, specify the owner name (using the schema.objectname syntax). If the owner name wildcard is omitted (that is, * is specified instead of *.*), Help displays the objects that can be accessed without the owner prefix.
The following examples illustrate the effects of the wildcard character:
Wildcard |
Description |
---|---|
Help * |
Display objects owned by the effective user of the session. |
Help davey.* |
Display all objects owned by davey. |
Help *.mytable |
Display all objects named, mytable, regardless of owner. |
Help d*.* |
Display all objects owned by users beginning with d. |
Help *.d* |
Display all objects beginning with d regardless of owner. |
Help *.* |
Display all objects regardless of owner. |
All users are permitted to use this statement.
The Help statement does not take read locks on system catalogs. As a result, if the Help statement is issued while a Create Schema or Create Table as Select statement is executing, the Help statement can display results that do not reflect the final results of the Create statements.
The following are Help statement examples:
help;
help *.e*;
help employee, dept;
help view highpay;
help permit on table job, employee;
help integrity dept, employee;
help sql select;