• CAN/CSA-ISO/IEC 9075-2:18

    Current The latest, up-to-date edition.

    Information technology - Database languages - SQL - Part 2: Foundation (SQL/Foundation) (Adopted ISO/IEC 9075-2:2016, fifth edition, 2016-12-15)

    Available format(s):  Hardcopy, PDF

    Language(s):  English

    Published date:  01-01-2018

    Publisher:  Canadian Standards Association

    Add To Cart

    Table of Contents - (Show below) - (Hide below)

    Foreword
    Introduction
    1 Scope
    2 Normative references
    3 Definitions, notations, and conventions
    4 Concepts
    5 Lexical elements
    6 Scalar expressions
    7 Query expressions
    8 Predicates
    9 Additional common rules
    10 Additional common elements
    11 Schema definition and manipulation
    12 Access control
    13 SQL-client modules
    14 Data manipulation
    15 Additional data manipulation rules
    16 Control statements
    17 Transaction management
    18 Connection management
    19 Session management
    20 Dynamic SQL
    21 Embedded SQL
    22 Direct invocation of SQL
    23 Diagnostics management
    24 Status codes
    25 Conformance
    Annex A (informative) - SQL Conformance Summary
    Annex B (informative) - Implementation-defined elements
    Annex C (informative) - Implementation-dependent elements
    Annex D (informative) - Deprecated features
    Annex E (informative) - Incompatibilities with
            ISO/IEC 9075:2011
    Annex F (informative) - SQL feature taxonomy
    Annex G (informative) - Defect Reports not addressed in
            this edition of this part of ISO/IEC 9075
    Bibliography
    Index

    Abstract - (Show below) - (Hide below)

    Preface Standards development within the Information Technology sector is harmonized with international standards development. Through the CSA Technical Committee on Information Technology (TCIT), Canadians serve as the SCC Mirror Committee (SMC) on ISO/IEC Joint Technical Committee 1 on Information Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadian National Committee of the IEC. Also, as a member of the International Telecommunication Union (ITU), Canada participates in the International Telegraph and Telephone Consultative Committee (ITU-T). For brevity, this Standard will be referred to as \"CAN/CSA-ISO/IEC 9075-2\" throughout. This Standard supersedes CAN/CSA-ISO/IEC 9075-2:13 (adopted ISO/IEC 9075-2:2011). Scope This part of ISO/IEC 9075 defines the data structures and basic operations on SQL-data. It provides functional capabilities for creating, accessing, maintaining, controlling, and protecting SQL-data. This part of ISO/IEC 9075 specifies the syntax and semantics of a database language: For specifying and modifying the structure and the integrity constraints of SQL-data. For declaring and invoking operations on SQL-data and cursors. For declaring database language procedures. For embedding SQL-statements in a compilation unit that is otherwise written in a particular programming language (host language). For deriving an equivalent compilation unit in the host language. In that equivalent compilation unit, each embedded SQL-statement has been replaced by one or more statements in the host language, some of which invoke an SQL externally-invoked procedure that, when executed, has an effect equivalent to executing the SQL-statement. For direct invocation of SQL-statements. To support dynamic preparation and execution of SQL-statements. This part of ISO/IEC 9075 provides a vehicle for portability of data definitions and compilation units between SQL-implementations. This part of ISO/IEC 9075 provides a vehicle for interconnection of SQL-implementations. Implementations of this part of ISO/IEC 9075 can exist in environments that also support application programming languages, end-user query languages, report generator systems, data dictionary systems, program library systems, and distributed communication systems, as well as various tools for database design, data administration, and performance optimization.

    Scope - (Show below) - (Hide below)

    Preface Standards development within the Information Technology sector is harmonized with international standards development. Through the CSA Technical Committee on Information Technology (TCIT), Canadians serve as the SCC Mirror Committee (SMC) on ISO/IEC Joint Technical Committee 1 on Information Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadian National Committee of the IEC. Also, as a member of the International Telecommunication Union (ITU), Canada participates in the International Telegraph and Telephone Consultative Committee (ITU-T). For brevity, this Standard will be referred to as \"CAN/CSA-ISO/IEC 9075-2\" throughout. This Standard supersedes CAN/CSA-ISO/IEC 9075-2:13 (adopted ISO/IEC 9075-2:2011). Scope This part of ISO/IEC 9075 defines the data structures and basic operations on SQL-data. It provides functional capabilities for creating, accessing, maintaining, controlling, and protecting SQL-data. This part of ISO/IEC 9075 specifies the syntax and semantics of a database language: For specifying and modifying the structure and the integrity constraints of SQL-data. For declaring and invoking operations on SQL-data and cursors. For declaring database language procedures. For embedding SQL-statements in a compilation unit that is otherwise written in a particular programming language (host language). For deriving an equivalent compilation unit in the host language. In that equivalent compilation unit, each embedded SQL-statement has been replaced by one or more statements in the host language, some of which invoke an SQL externally-invoked procedure that, when executed, has an effect equivalent to executing the SQL-statement. For direct invocation of SQL-statements. To support dynamic preparation and execution of SQL-statements. This part of ISO/IEC 9075 provides a vehicle for portability of data definitions and compilation units between SQL-implementations. This part of ISO/IEC 9075 provides a vehicle for interconnection of SQL-implementations. Implementations of this part of ISO/IEC 9075 can exist in environments that also support application programming languages, end-user query languages, report generator systems, data dictionary systems, program library systems, and distributed communication systems, as well as various tools for database design, data administration, and performance optimization.

    General Product Information - (Show below) - (Hide below)

    Document Type Standard
    Publisher Canadian Standards Association
    Status Current
    Supersedes

    Standards Referencing This Book - (Show below) - (Hide below)

    ISO/IEC 16262:2011 Information technology Programming languages, their environments and system software interfaces ECMAScript language specification
    ISO/IEC 8859-1:1998 Information technology 8-bit single-byte coded graphic character sets Part 1: Latin alphabet No. 1
    ISO/IEC 10646:2014 Information technology Universal Coded Character Set (UCS)
    ISO/IEC 6429:1992 Information technology Control functions for coded character sets
    ISO/IEC TR 19075-1:2011 Information technology Database languages SQL Technical Reports Part 1: XQuery Regular Expression Support in SQL
    ISO 7185:1990 Information technology Programming languages Pascal
    ISO/IEC 1989:2014 Information technology — Programming languages, their environments and system software interfaces — Programming language COBOL
    ISO/IEC 14651:2016 Information technology International string ordering and comparison Method for comparing character strings and description of the common template tailorable ordering
    ISO/IEC 11756:1999 Information technology Programming languages M
    ISO/IEC 9075-10:2016 Information technology — Database languages — SQL — Part 10: Object language bindings (SQL/OLB)
    ISO 8601:2004 Data elements and interchange formats Information interchange Representation of dates and times
    ISO/IEC 10206:1991 Information technology Progamming languages Extended Pascal
    ISO/IEC TR 19075-2:2015 Information technology Database languages SQL Technical Reports Part 2: SQL Support for Time-Related Information
    ISO/IEC 9075-9:2016 Information technology — Database languages — SQL — Part 9: Management of External Data (SQL/MED)
    ISO/IEC 1539-1:2010 Information technology Programming languages Fortran Part 1: Base language
    ISO/IEC 9899:2011 Information technology Programming languages C
    ISO/IEC 646:1991 Information technology ISO 7-bit coded character set for information interchange
    ISO/IEC 9075-13:2016 Information technology — Database languages — SQL — Part 13: SQL Routines and types using the Java TM programming language (SQL/JRT)
    ISO/IEC 9075-3:2016 Information technology — Database languages — SQL — Part 3: Call-Level Interface (SQL/CLI)
    ISO/IEC/IEEE 9945:2009 Information technology — Portable Operating System Interface (POSIX®) Base Specifications, Issue 7
    ISO 6160:1979 Programming languages PL/1
    ISO/IEC 8652:2012 Information technology — Programming languages — Ada
    ISO/IEC 9075-14:2016 Information technology — Database languages — SQL — Part 14: XML-Related Specifications (SQL/XML)
    ISO/IEC 9075-11:2016 Information technology — Database languages — SQL — Part 11: Information and definition schemas (SQL/Schemata)
    ISO/IEC 9075-4:2016 Information technology — Database languages — SQL — Part 4: Persistent stored modules (SQL/PSM)
    ISO/IEC 9579:2000 Information technology Remote database access for SQL with security enhancement
    ISO/IEC 9075-1:2016 Information technology — Database languages — SQL — Part 1: Framework (SQL/Framework)
    • Access your standards online with a subscription

      Features

      • Simple online access to standards, technical information and regulations
      • Critical updates of standards and customisable alerts and notifications
      • Multi - user online standards collection: secure, flexibile and cost effective