Neoview Script Guide (R2.2)

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
it within double quotes. To look for similar values, specify only part of the characters of
wild-card-pattern combined with these wild-card characters:
Use a percent sign to indicate zero or more characters
of any type. For example, %art% matches SMART,
ARTIFICIAL, and PARTICULAR but not smart or
Hearts. "%art%" matches smart and Hearts but not
SMART, ARTIFICIAL, or PARTICULAR.
%
Use an underscore to indicate any single character. For
example, boo_ matches BOOK and BOOT but not BOO or
BOOTS. "boo_" matches book and boot but not boo
or boots.
_
Considerations
In the Neoview Script interface, you must enter the command on one line. The command
does not require an SQL terminator.
You can execute this command only in SQL mode.
If you do not specify a wild-card pattern in a SHOW MVS command, Neoview Script displays
all the materialized views that exist in the current schema.
If you specify a wild-card pattern in a SHOW MVS command, Neoview Script displays only
the materialized view names that match the wild-card pattern.
Examples
This command shows all the materialized views in the current schema, PERSNL:
SQL>show mvs;
MATERIALIZED VIEW NAMES
-------------------------------------------------------------
mvemp1 mvemp2 mvemp3 mvjobdesc
SQL>
This command shows all the materialized views in the current schema, PERSNL, that have
“EMP” in their names:
SQL>show mvs %emp%;
MATERIALIZED VIEW NAMES
-------------------------------------------------------------
MVEMP1 MVEMP2 MVEMP3
SQL>
This command shows all the materialized views in the current schema, SALES, that are
named “ORDER” followed by one character:
SQL>show mvs "ORDER_"
MATERIALIZED VIEW NAMES
-------------------------------------------------------------
ORDER1 ORDER2 ORDERS
SQL>
124 Neoview Script Interface Commands