Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

SqlViewName

Overrides the default name of the projected SQL view. Applies only if this query is projected as an SQL view.

Usage

To override the default name used when the query is projected as an SQL view, use the following syntax:

Query name(formal_spec) As classname [ SqlView, SqlViewName = "_Q1" ]
{
   //implementation
}

Where sqlviewname is an SQL identifier.

Details

This keyword provides an SQL alias for the view projected from this query.

Default

If you omit this keyword, the SQL view name is the query name.

See Also

FeedbackOpens in a new window