BROKER SCHEMA statement

The BROKER SCHEMA statement is optional; use it in an ESQL file to explicitly identify the schema that contains the file.

Syntax

Read syntax diagramSkip visual syntax diagram BROKER SCHEMAschemaName PATHschemaPathList esqlContents
schemaName
Read syntax diagramSkip visual syntax diagram< . <identifier
schemaPathList
Read syntax diagramSkip visual syntax diagram< , <SchemaName
esqlContents
Read syntax diagramSkip visual syntax diagram <<createFunctionStatementcreateModuleStatementcreateProcedureStatementDeclareStatement

An ESQL schema is a named container for functions, procedures, modules, and variables. ESQL schema is similar to the namespace concept of C++, XML, and .NET, and to the package concept of Java™.

In the absence of a BROKER SCHEMA statement, all functions, procedures, modules, and constants belong to the default schema. The default schema is similar to the default namespace in C++, the no-target namespace in XML Schema, and the default package in Java.