Skip to main content


persistent class INFORMATION.SCHEMA.STATEMENTRELATIONS extends %Library.Persistent, %XML.Adaptor


Child table of INFORMATION_SCHEMA.STATEMENTS which contains each table or view entry use by the statement

Property Inventory


parameter READONLY = 1;
Inherited description: READONLY = 1 means that objects can be created, opened but not saved or deleted. Tables are projected to SQL as READONLY.


property Relation as %String (MAXLEN = 128) [ Required ];
name of the table or view the statement references. Note, the name of the relation is always stored in uppercase.
Property methods: RelationDisplayToLogical(), RelationGet(), RelationIsValid(), RelationLogicalToDisplay(), RelationLogicalToOdbc(), RelationNormalize(), RelationSet()
relationship Statement as INFORMATION.SCHEMA.STATEMENTS [ Required , Inverse = Relations , Cardinality = parent ];
Reference to the INFORMATION_SCHEMA.STATEMENTS row this is a child of
Property methods: StatementGet(), StatementGetObject(), StatementGetObjectId(), StatementGetSwizzled(), StatementIsValid(), StatementNewObject(), StatementOnDelete(), StatementRClose(), StatementRExec(), StatementRFetch(), StatementRelate(), StatementSQLCompute(), StatementSet(), StatementSetObject(), StatementSetObjectId(), StatementUnRelate(), StatementUnSwizzle()


index (StatementRelationsIDKey on Relation) [IdKey, Type = key];
Index methods: StatementRelationsIDKeyCheck(), StatementRelationsIDKeyDelete(), StatementRelationsIDKeyExists(), StatementRelationsIDKeyOpen(), StatementRelationsIDKeySQLCheckUnique(), StatementRelationsIDKeySQLExists(), StatementRelationsIDKeySQLFindPKeyByConstraint(), StatementRelationsIDKeySQLFindRowIDByConstraint()

Inherited Members

Inherited Methods


Gray indicates storage defined by superclasses.

Storage Model: SQLStorage

Maps: 2

  • Map number 1 is named Master

    thismap.Global: ^rINDEXSQL

  • Map number 2 is named RelationIndex

    thismap.Global: ^rINDEXSQL

  • ^rINDEXSQL("sqlidx",1,{INFORMATION_SCHEMA.STATEMENTS.Hash},"rel",{Relation})
FeedbackOpens in a new tab