DISPLAY VIEWS Command

Example   See Also

Displays information about SQL views in the current database and indicates whether the SQL views are based on local or remote tables.

Syntax

DISPLAY VIEWS
  [TO PRINTER [PROMPT] | TO FILE FileName]
  [NOCONSOLE]

Arguments

TO PRINTER [PROMPT]

Directs output from DISPLAY VIEWS to a printer.

You can include PROMPT to display the Print dialog box before printing starts. Place the PROMPT keyword immediately after TO PRINTER.

TO FILE FileName

Directs output from DISPLAY VIEWS to the file specified with FileName. If the file already exists and SET SAFETY is ON, Visual FoxPro displays a prompt asking if you want to overwrite the file.

NOCONSOLE

Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Remarks

Use DBGETPROP( ) to return additional information about SQL views in the current database.

SQL views are created with CREATE SQL VIEW.