Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


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


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" ]

Where sqlviewname is an SQL identifier.


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


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

See Also