标准摘要
[中文适用范围]: ISO/IEC 9075 的这一部分定义了 SQL 数据的数据结构和基本操作。 它提供创建、访问、维护、控制和保护 SQL 数据的功能。 ISO/IEC 9075 的这一部分规定了数据库语言的语法和语义: ——用于规定和修改 SQL 数据的结构和完整性约束。 — 用于声明和调用 SQL 数据和游标上的操作。 — 用于声明数据库语言过程。 — 用于将 SQL 语句嵌入到符合特定编程语言(宿主语言)标准的编译单元中。 — 用于导出符合特定编程语言标准的等效编译单元。 在该等效编译单元中,每个嵌入的 SQL 语句已被宿主语言中的一个或多个语句替换,其中一些语句调用 SQL 外部调用过程,该过程在执行时具有与执行 SQL 语句等效的效果。 — 用于直接调用 SQL 语句。 — 支持 SQL 语句的动态准备和执行。 ISO/IEC 9075 的这一部分为 SQL 实现之间的数据定义和编译单元的可移植性提供了工具。 ISO/IEC 9075 的这一部分提供了 SQL 实现互连的工具。 ISO/IEC 9075 这部分的实现可能存在于还支持应用程序编程语言、最终用户查询语言、报告生成器系统、数据字典系统、程序库系统和分布式通信系统以及各种数据库工具的环境中设计、数据管理和性能优化。 [外文原描述]: ISO/IEC 9075 defines the SQL language. The scope of the SQL language is the definition of data structure and the operations on data stored in that structure. Parts 1, 2 and 11 encompass the minimum requirements of the language. Other parts define extensions. ISO/IEC 9075-2:2003 defines the data structures and basic operations on SQL-data. It provides functional capabilities for creating, accessing, maintaining, controlling, and protecting SQL-data. Both static and dynamic variants of the language are proved. In addition to direct invocation, bindings are provided for the programming languages Ada, C, COBOL, Fortran, M, Pascal and PL/I.
英文名称Information technology - Database languages - SQL - Part 2: Foundation (SQL/Foundation)