Skip to content
Reference>Meta Database>Information Schema

Information Schema

The MetaKraftwerk Information Schema (also “Data Dictionary”) consists of a set of system-defined views that provide metadata information about the objects created in the meta database of your project. (We know, metadata about metadata, now it's getting deep 😉 )

The Information Schema is implemented as a schema named @INFORMATION_SCHEMA that MetaKraftwerk automatically creates in every project.

List of Information Schema views

All views of the information schema are listed below:

View nameDescription
COLUMNSReturns metadata about all columns in all tables in the meta database.
COMMITSInformation about all commits within the project.
DELIVERIESThe list of deliveries in the project
INSTANCE_LABELSList of all labels attached to instances
Instance MetadataMakes metadata available (read/write)
INSTANCESList of all instances in the project
PATTERN_VARIABLESValues of all pattern variables for the various instance folders
TABLESList of all tables in the meta database

General Usage

If you want to query a view of the information schema, you must qualify it with @INFORMATION_SCHEMA, as shown in the following example.

sql
SELECT * FROM @INFORMATION_SCHEMA.COLUMNS;