ISO/IEC 9075-4:2023
Information technology — Database languages SQL — Part 4: Persistent stored modules (SQL/PSM)
Information technology — Database languages SQL — Part 4: Persistent stored modules (SQL/PSM)
- Статус документа:
- Действующий
- Формат:
- Электронный (PDF)
- Количество страниц:
- 158
- Дата публикации:
- 1 июня 2023 г.
- Издание:
- ISO/IEC IS 9075 edition 7 version 1
- ICS:
- 35.060
Abstract
Overview
ISO/IEC 9075-4:2023 - Information technology - Database languages SQL - Part 4: Persistent stored modules (SQL/PSM) - is the international standard that defines the language elements, semantics and conformance rules for persistent stored modules (procedures, functions, triggers and related program units) within the SQL family. The seventh edition (2023) formalizes the syntax, execution model, diagnostics and metadata views that support creation, invocation and management of SQL-based stored routines.
Key topics and technical scope
This edition organizes comprehensive technical coverage, including:
- Concepts and notations: SQL-server modules, SQL-schemas, base and temporary tables, SQL-invoked routines, cursors, diagnostics and condition handling.
- Lexical elements and expressions: tokens, identifiers, scalar expressions, query expressions and variable references.
- Control and procedural elements: compound statements, control statements (IF, CASE, LOOP, WHILE, FOR, etc.), handlers, condition declarations and variable declarations.
- Dynamic and embedded SQL: rules for preparing and executing dynamic SQL, embedded SQL host programs and direct invocation contexts.
- Schema definition & manipulation: DDL elements for modules, tables, columns, views, triggers and related DROP/CREATE semantics.
- Access control and security: GRANT/REVOKE semantics for module-level privileges and role-based module grants.
- Diagnostics & status codes: GET DIAGNOSTICS, SIGNAL/RESIGNAL and SQLSTATE status code definitions.
- Metadata (InformationSchema & DefinitionSchema): standardized views and base tables such as MODULES, ROUTINES, PARAMETERS, MODULE_COLUMN_USAGE, MODULE_PRIVILEGES, MODULE_TABLE_USAGE and ROLE_MODULE_GRANTS for introspection and tooling.
- Conformance: conformance claims, optional feature taxonomy and annexes covering implementation-defined and deprecated elements.
Practical applications and target users
ISO/IEC 9075-4:2023 is intended for anyone implementing or using SQL stored programs:
- DBMS vendors and implementers - ensure compliant stored-procedure engines, dynamic SQL handling and metadata exposure.
- Application developers and database developers - write portable stored procedures, functions and triggers consistent with the SQL standard.
- DBAs and architects - design secure, maintainable module deployments and manage privileges and schema objects.
- Tooling and ORM vendors - support standardized information schema views and diagnostics for introspection, migration and code generation.
- Auditors and QA teams - verify conformance, error handling and security behavior against a recognized international standard.
Related standards
- Part of the ISO/IEC 9075 (SQL) family - this document complements other parts of the SQL standard that define core query language, data types and additional SQL features.
Keywords: ISO/IEC 9075-4:2023, SQL/PSM, Persistent Stored Modules, SQL standard, stored procedures, dynamic SQL, information schema, MODULES view, SQLSTATE.
Технические детали
- Технический комитет
- ISO/IEC JTC 1/SC 32 - Data management and interchange
- SKU
- ISO/IEC 9075-4:2023
Похожие стандарты
Упомянутые в описании и другие стандарты ISO
ISO/IEC 9075-5:1999
ОтменёнInformation technology — Database languages — SQL — Part 5: Host Language Bindings (SQL/Bindings)
ISO 8212:1986
ОтменёнSoaps and detergents — Techniques of sampling during manufacture
Overview Standard Reference: ISO 8212:1986 Title: Soaps and detergents - Techniques of sampling during manufacture ISO 8212:1986 defines standardized techniques for taking representative samples of s…
ISO 20662:2020
ДействующийShips and marine technology — Hopper dredger supervisory and control systems
Overview ISO 20662:2020 - Ships and marine technology: Hopper dredger supervisory and control systems (HD‑SCS) - specifies the components, structure, general requirements, and functional requirements…
ISO 3021:2023
ДействующийAdventure tourism — Hiking and trekking activities — Requirements and recommendations
Overview ISO 3021:2023 - Adventure tourism: Hiking and trekking activities - Requirements and recommendations defines safety-focused requirements and recommendations for hiking and trekking offered a…
ISO 3826-2:2008
ДействующийPlastics collapsible containers for human blood and blood components — Part 2: Graphical symbols for use on l…
Overview ISO 3826-2:2008 - "Plastics collapsible containers for human blood and blood components - Part 2: Graphical symbols for use on labels and instruction leaflets" defines a system of internatio…
ISO/IEC 24730-1:2014
ДействующийInformation technology — Real-time locating systems (RTLS) — Part 1: Application programming interface (API)
Overview ISO/IEC 24730-1:2014 specifies the Application Programming Interface (API) for Real‑Time Locating Systems (RTLS). The standard defines a minimal, interoperable boundary that lets application…
ISO 8668-5:1992
ДействующийAircraft — Terminal junction systems — Part 5: Detail specification for type 3 system
Overview - ISO 8668-5:1992 (Aircraft terminal junction systems, Type 3) ISO 8668-5:1992 defines the detail specification for Type 3 Terminal Junction Systems (TJS) used in aircraft electrical install…
ISO 7574-3:1985
ДействующийAcoustics — Statistical methods for determining and verifying stated noise emission values of machinery and e…
Overview ISO 7574-3:1985 is part of the ISO 7574 series on acoustics and provides a simple (transition) statistical method for determining and verifying stated noise emission values for batches (lots…