Metadata Definition: SQL Entry Fields

Each Metadata Definition tab has up to three Metadata Table Definition SQL entry fields:

Notes on Entering SQL:

  • Entries are required in all From entry fields, and in all fields marked with an asterisk (*).

  • Under default settings, Metadata Definition fields specify the system-managed directory tables (except when using ODBC). You cannot modify field values when the Default radio button is selected.

  • :TABLE and :Column should not show quotes in the metadata set up. SQL adds the quotes automatically.

  • Clicking Reset at any time when defining a custom source populates the entry fields with the database default values. It may be helpful to start with the defaults when setting up metadata definitions.

  • You may sometimes use database variables when entering a Where clause. Interactive Reporting Studio provides :OWNER, :TABLE, :COLUMN, :LOOKUPID, :TABALIAS, and :COLALIAS variables which temporarily store a database owner, table, column, or domain ID number and aliases of the active topic or item. Each variable must be entered in all caps with a leading colon.