Home > Class Reference > %SYS namespace > INFORMATION.SCHEMA.VIEWCOLUMNUSAGE
Private   Storage    

INFORMATION.SCHEMA.VIEWCOLUMNUSAGE

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

SQL Table Name: VIEW_COLUMN_USAGE

Returns one row for each table column that is used in a view where the view and view column can be accessed by the current user in the current namespace.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 7

Summary

Properties
COLUMNNAME TABLECATALOG TABLENAME TABLESCHEMA VIEWCATALOG
VIEWNAME VIEWSCHEMA
Methods
%AddToSaveSet %AddToSyncSet %CheckConstraints %CheckConstraintsForExtent
%ClassIsLatestVersion %ClassName %ComposeOid %ConstructClone
%Delete %DeleteExtent %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Exists %ExistsId
%Extends %GUID %GUIDSet %GetLock
%GetParameter %GetSwizzleObject %Id %IsA
%IsModified %IsNull %KillExtent %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %Save %SaveDirect %SerializeObject
%SetModified %SortBegin %SortEnd %SyncObjectIn
%SyncTransport %UnlockExtent %UnlockId %ValidateIndices
%ValidateObject

Parameters

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

Properties

property COLUMNNAME as %String(COLLATION="Upper",MAXLEN=128) [ SqlFieldName = COLUMN_NAME,Required ];
Name of the column.
property TABLECATALOG as %String(MAXLEN=128) [ Calculated,SqlFieldName = TABLE_CATALOG ];
Table qualifier - always NULL in Caché
property TABLENAME as %String(COLLATION="Upper",MAXLEN=128) [ SqlFieldName = TABLE_NAME,Required ];
Name of the table.
property TABLESCHEMA as %String(COLLATION="Upper",MAXLEN=128) [ SqlFieldName = TABLE_SCHEMA,Required ];
Name of schema that contains the table.
property VIEWCATALOG as %String(MAXLEN=128) [ Calculated,SqlFieldName = VIEW_CATALOG ];
View qualifier - always NULL in Caché
property VIEWNAME as %String(COLLATION="Upper",MAXLEN=128) [ SqlFieldName = VIEW_NAME,Required ];
Name of the view.
property VIEWSCHEMA as %String(COLLATION="Upper",MAXLEN=128) [ SqlFieldName = VIEW_SCHEMA,Required ];
Name of schema that contains the view.