Neoview Command Interface (NCI) Guide (R2.5)
Considerations
• You must enter the command on one line. The command does not require an SQL terminator.
• If you do not specify a wild-card pattern in a SHOW MVGROUPS command, NCI displays
all the materialized view groups that exist in the current schema.
• If you specify a wild-card pattern in a SHOW MVGROUPS command, NCI displays only
the materialized view group names that match the wild-card pattern.
• You can execute this command only in SQL mode.
• If the SET TIMING command is set to ON, the elapsed time information is displayed.
Examples
• This command shows all the materialized view groups in the current schema, PERSNL:
SQL>show mvgroups
MATERIALIZED VIEW GROUP NAMES
-------------------------------------------------------------
MVGROUP1 MVGROUP2 EMPLOYEEINFO
SQL>
• This command shows all the materialized view groups in the current schema, PERSNL, that
have “GROUP” in their names:
SQL>show mvgroups %group%
MATERIALIZED VIEW GROUP NAMES
-------------------------------------------------------------
MVGROUP1 MVGROUP2
SQL>
• This command shows all the materialized view groups in the current schema, SALES, that
are named “PART” followed by one character:
SQL>show mvgroups "PART_"
MATERIALIZED VIEW GROUP NAMES
-------------------------------------------------------------
PART1 PART2 PARTS
SQL>
SHOW MVS Command
The SHOW MVS command displays all or a set of the materialized views in the current schema
of the NCI session.
Syntax
SHOW MVS [wild-card-pattern]
wild-card-pattern
is a character string used to search for and display materialized views with names that match
the character string. wild-card-pattern matches an uppercase string unless you enclose
132 NCI Commands