Overview
ISO/IEC 9075-11:2023 - Part 11 of the SQL standard - defines the standardized Information Schema and Definition Schema for SQL implementations. Published as the fifth edition in June 2023, this part of ISO/IEC 9075 specifies the metadata structures, lexical conventions and conformance rules that enable consistent schema introspection, metadata exchange and definition of database objects across compliant systems.
Key topics and technical scope
This standard focuses on the formal representation of database metadata and includes:
-
Information Schema (INFORMATION_SCHEMA)
- A comprehensive set of standardized read-only views and domains for runtime metadata (examples from the table of contents: COLUMNS, TABLES, VIEWS, ROUTINES, SCHEMATA, SEQUENCES, TABLE_CONSTRAINTS, COLUMN_PRIVILEGES, etc.).
- Domain definitions such as SQL_IDENTIFIER, TIME_STAMP, CHARACTER_DATA, CARDINAL_NUMBER, and YES_OR_NO to standardize metadata value types.
- Views covering features, privileges, character sets, collations and usage relationships (e.g., CHARACTER_SETS, COLLATIONS, ROLE_TABLE_GRANTS).
-
Definition Schema (DEFINITION_SCHEMA)
- Basetables and assertions that represent the definitional metadata of a database (for example: TABLESbasetable, COLUMNSbasetable, ROUTINESbasetable).
- Assertions and integrity rules for key degrees and uniqueness to support consistent definition semantics.
-
Lexical elements and notations
- Tokens, separators and conventions used in schema descriptions.
-
Conformance and implementation guidance
- Conformance claims, required and optional features, and annexes detailing implementation-defined and implementation-dependent elements, deprecated features and incompatibilities.