ISO/IEC 9075-2:2023
Information technology — Database languages SQL — Part 2: Foundation (SQL/Foundation)
Information technology — Database languages SQL — Part 2: Foundation (SQL/Foundation)
- Статус документа:
- Действующий
- Формат:
- Электронный (PDF)
- Количество страниц:
- 1715
- Дата публикации:
- 1 июня 2023 г.
- Издание:
- ISO/IEC IS 9075 edition 6 version 1
- ICS:
- 35.060
Abstract
Overview - ISO/IEC 9075-2:2023 (SQL / Foundation)
ISO/IEC 9075-2:2023, Information technology - Database languages SQL - Part 2: Foundation (SQL/Foundation), is the ISO/IEC standard that defines the foundational language elements, data models and core semantics of SQL. The sixth edition (2023) specifies the baseline SQL language constructs, basic data types, operations and behaviors that ensure consistent SQL implementation and interoperability across database systems.
Key topics and technical scope
This part of the SQL standard covers the essential building blocks and behavioral rules for SQL implementations, including:
- Data types and literals: character strings, binary strings, numeric types, Boolean, datetimes, intervals, JSON types, user-defined types, row and collection types (arrays, multisets).
- Character handling and collations: repertoires, encoding forms, comparison and operations on character strings.
- Data conversions and domains: implicit/explicit conversions and domain semantics.
- Table and row models: base tables (including system-versioned and temporary tables), derived and transient tables, columns (base and generated), identity columns, table updatability and unique identification.
- Query and expression semantics: scalar expressions, table expressions, query specifications and query expression composition.
- Data analysis and windowing: group functions, window functions, aggregate functions and advanced analytical features.
- Row pattern matching: pattern definitions, partitioning, measures and row navigation semantics.
- Integrity and constraint rules: unique constraints, referential constraints, check constraints, domain constraints and assertions.
- Functional dependencies and candidate keys: formal rules for dependencies and key identification within queries and tables.
- Routines, invocation and dynamic SQL: SQL-invoked routines, externally-invoked procedures, direct invocation, descriptors, result sets and dynamic SQL concepts.
- Additional foundations: periods, collections, sequence generators, host parameters, SQL-paths and determinism rules.
Practical applications - who uses this standard
ISO/IEC 9075-2 is essential for:
- DBMS implementers and database engine vendors building SQL-compliant systems.
- Database architects and developers ensuring portability of SQL code across platforms.
- Tool and library authors (ORMs, SQL parsers, analysis tools) who need authoritative SQL semantics.
- Compliance and QA teams validating vendor claims of SQL conformance.
- Educators and technical authors teaching SQL language principles and standards-based features.
Adopting SQL/Foundation helps ensure predictable behavior for queries, consistent handling of data types (including JSON and temporal types), reliable constraint enforcement and portability of analytics and windowed queries.
Related standards
ISO/IEC 9075-2:2023 is part of the broader ISO/IEC 9075 (SQL) series. Implementers should consult other parts of the SQL standard series to cover language modules beyond the foundation (such as procedural modules, call-level interfaces and extensions).
Технические детали
- Технический комитет
- ISO/IEC JTC 1/SC 32 - Data management and interchange
- SKU
- ISO/IEC 9075-2: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…