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?

SqlName

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

Usage

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

Query name(formal_spec) As classname [ SqlProc, SqlName = sqlname ]
{
   //implementation
}

Where sqlname is an SQL identifier.

Details

If this query is projected as an SQL stored procedure, then this name is used as the name of the stored procedure.

Default

If you omit this keyword, the query name is used as the SQL procedure name.

See Also

Feedback