Home > Class Reference > ENSLIB namespace > INFORMATION.SCHEMA.VIEWTABLEUSAGE

INFORMATION.SCHEMA.VIEWTABLEUSAGE

persistent class INFORMATION.SCHEMA.VIEWTABLEUSAGE extends %Library.Persistent

SQL Table Name: INFORMATION_SCHEMA.VIEW_TABLE_USAGE

Returns one row for each table in the current namespace where the table is used by a view, and the current user has privileges for the table and view.

Property Inventory (Including Private)

Parameters

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.

Properties (Including Private)

property TABLECATOLOG as %String (MAXLEN = 128) [ Calculated , SqlFieldName = TABLE_CATALOG ];
Table qualifier - always NULL in Caché.
Property methods: TABLECATOLOGCompute(), TABLECATOLOGDisplayToLogical(), TABLECATOLOGGet(), TABLECATOLOGIsValid(), TABLECATOLOGLogicalToDisplay(), TABLECATOLOGLogicalToOdbc(), TABLECATOLOGNormalize(), TABLECATOLOGSQLCompute()
property TABLENAME as %String (COLLATION = "Upper", MAXLEN = 128) [ SqlFieldName = TABLE_NAME , Required ];
Name of the table.
Property methods: TABLENAMEDisplayToLogical(), TABLENAMEGet(), TABLENAMEIsValid(), TABLENAMELogicalToDisplay(), TABLENAMELogicalToOdbc(), TABLENAMENormalize(), TABLENAMESet()
property TABLESCHEMA as %String (COLLATION = "Upper", MAXLEN = 128) [ SqlFieldName = TABLE_SCHEMA , Required ];
Name of schema that contains the table.
Property methods: TABLESCHEMADisplayToLogical(), TABLESCHEMAGet(), TABLESCHEMAIsValid(), TABLESCHEMALogicalToDisplay(), TABLESCHEMALogicalToOdbc(), TABLESCHEMANormalize(), TABLESCHEMASet()
property VIEWCATALOG as %String (MAXLEN = 128) [ Calculated , SqlFieldName = VIEW_CATALOG ];
View qualifier - always NULL in Caché.
Property methods: VIEWCATALOGCompute(), VIEWCATALOGDisplayToLogical(), VIEWCATALOGGet(), VIEWCATALOGIsValid(), VIEWCATALOGLogicalToDisplay(), VIEWCATALOGLogicalToOdbc(), VIEWCATALOGNormalize(), VIEWCATALOGSQLCompute()
property VIEWNAME as %String (COLLATION = "Upper", MAXLEN = 128) [ SqlFieldName = VIEW_NAME , Required ];
Name of the view.
Property methods: VIEWNAMEDisplayToLogical(), VIEWNAMEGet(), VIEWNAMEIsValid(), VIEWNAMELogicalToDisplay(), VIEWNAMELogicalToOdbc(), VIEWNAMENormalize(), VIEWNAMESet()
property VIEWSCHEMA as %String (COLLATION = "Upper", MAXLEN = 128) [ SqlFieldName = VIEW_SCHEMA , Required ];
Name of schema that contains the view.
Property methods: VIEWSCHEMADisplayToLogical(), VIEWSCHEMAGet(), VIEWSCHEMAIsValid(), VIEWSCHEMALogicalToDisplay(), VIEWSCHEMALogicalToOdbc(), VIEWSCHEMANormalize(), VIEWSCHEMASet()

Indexes

index (PKeyIndex on VIEWSCHEMA,VIEWNAME,TABLESCHEMA,TABLENAME) [PrimaryKey];
Index methods: PKeyIndexCheck(), PKeyIndexCheckUnique(), PKeyIndexDelete(), PKeyIndexExists(), PKeyIndexOpen(), PKeyIndexSQLCheckUnique(), PKeyIndexSQLExists(), PKeyIndexSQLFindPKeyByConstraint(), PKeyIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods (Including Private)