SEMANTIC_RELATIONSHIPS view

This Information Schema view displays a row for each relationship in a semantic view in the specified (or current) database.

See also:

SEMANTIC_RELATIONSHIPS view (Account Usage)

Columns

Column name

Data type

Description

semantic_view_catalog

VARCHAR

Database to which the semantic view belongs.

semantic_view_schema

VARCHAR

Schema to which the semantic view belongs.

semantic_view_name

VARCHAR

Name of the semantic view.

name

VARCHAR

Name of the semantic relationship.

table_name

VARCHAR

Name of the semantic table referencing the other table.

foreign_keys

ARRAY(VARCHAR)

List of the names of the columns referring to the columns of the other table.

ref_table_name

VARCHAR

Name of the semantic table being referenced.

ref_keys

ARRAY(VARCHAR)

List of the names of the columns being referenced.