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?

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

Feedback