この規格 プレビューページの目次
※一部、英文及び仏文を自動翻訳した日本語訳を使用しています。
序文
ISO (国際標準化機構) と IEC (国際電気標準会議) は、世界標準化のための専門システムを形成しています。 ISO または IEC のメンバーである国家機関は、技術活動の特定の分野を扱うために、それぞれの組織によって設立された技術委員会を通じて、国際規格の開発に参加しています。 ISO と IEC の技術委員会は、相互に関心のある分野で協力しています。 ISO および IEC と連携して、政府および非政府の他の国際機関もこの作業に参加しています。情報技術の分野では、ISO と IEC が合同技術委員会 ISO/IEC JTC 1 を設立しました。
この文書の開発に使用された手順と、今後の維持のために意図された手順は、ISO/IEC 指令で説明されています。 1. 特に、さまざまなタイプの文書に必要なさまざまな承認基準に注意する必要があります。この文書は、ISO/IEC 指令の編集規則に従って作成されました。 2 ( www.iso.org/directives を参照)
このドキュメントの要素の一部が特許権の対象となる可能性があることに注意してください。 ISO および IEC は、そのような特許権の一部またはすべてを特定する責任を負わないものとします。ドキュメントの開発中に特定された特許権の詳細は、序文および/または受信した特許宣言の ISO リストに記載されます ( www.iso.org/patents を参照)
このドキュメントで使用されている商号は、ユーザーの便宜のために提供された情報であり、保証を構成するものではありません。
適合性評価に関連する ISO 固有の用語および表現の意味に関する説明、および技術的貿易障壁 (TBT) における WTO 原則への ISO の準拠に関する情報については、次の URL を参照して ください 。
この文書を担当する委員会は、ISO/IEC JTC 1, 情報技術、SC 32, データ管理および交換です。
この第 4 版は、技術的に改訂された第 3 版 (ISO/IEC 13249-1:2007) を取り消し、置き換えます。
ISO/IEC 13249 は、次の部分で構成され、一般的なタイトルは「情報技術 - データベース言語 - SQL マルチメディアおよびアプリケーション パッケージ」です。
- Part 1: フレームワーク
- Part 2: 全文
- Part 3: 空間
- Part 5:静止画
- Part 6: データ マイニング
- Part 7: 歴史
この部分以外の部分は要件を指定しており、すべて ISO/IEC 9075 のさまざまな部分と、ISO/IEC 13249 のこの部分に依存しています。
序章
ISO/IEC 13249 のこの部分の目的は、ISO/IEC 9075 の部分でユーザー定義機能を使用して、マルチメディアおよびアプリケーション固有のタイプとそれらに関連するルーチンを定義することです。
このドキュメントは、ISO/IEC 9075, 情報技術 - データベース言語 - SQLの一部の内容に基づいています。
ISO/IEC 13249 のこの部分の構成は次のとおりです。
- 1)箇条 1 は、ISO/IEC 13249 のこの部分の範囲を指定します。
- 2)箇条 2 は、ISO/IEC 13249 での参照を通じて、ISO/IEC 13249 のこの部分の規定を構成し、したがって ISO/IEC 13249 のすべての部分を構成する追加の国際規格を特定します。
- 3)箇条 3 は、ISO/IEC 13249 で使用される用語と定義を指定します。
- 4)箇条 4 では、ISO/IEC 13249 で使用される概念について説明します。
- 5)箇条 5 は、ISO/IEC 13249 の各部分の内容を要約しています。
- 6)箇条 6 は、ISO/IEC 13249 の他の部分で使用される表記法と規則を定義します。
- 7)箇条 7 は、ISO/IEC 13249 の実装に関連する要件を記述しています。
- 8)箇条 8 は、ISO/IEC 13249 のすべてまたは一部の部分の適合要件を指定します。
- 9)附属書 A (参考情報) は、ISO/IEC 13249 の保守と解釈のための正式な手順を説明しています。
1 スコープ
ISO/IEC 13249 は、マルチメディアおよびアプリケーション領域で使用されるさまざまな種類のデータに共通する一般的なデータ型とテーブル構造のパッケージを多数定義し、そのデータを SQL データベースに格納して操作できるようにします。各サブジェクト領域のパッケージは、ISO/IEC 13249 の一部として定義されています。
ISO/IEC 13249 のこの部分では、ISO/IEC 13249 の他の 2 つ以上の部分に共通する概念、表記法、および規則を定義しています。特に、ISO/IEC 9075 の部分を使用してユーザー定義の各サブジェクト領域に適したテーブル構造の表現としての型とその動作およびビュー。
2 参考文献
以下のドキュメントの全体または一部は、このドキュメントで規範的に参照されており、その適用に不可欠です。日付のある参考文献については、引用された版のみが適用されます。日付のない参照については、参照文書の最新版 (修正を含む) が適用されます。
- ISO/IEC 9075-1, 情報技術— データベース言語 — SQL — 1: フレームワーク (SQL/フレームワーク)
- ISO/IEC 9075-2, 情報技術 ― データベース言語 — SQL — 2: ファウンデーション (SQL/ファウンデーション)
- ISO/IEC 9075-11, 情報技術 — データベース言語 — SQL — 11: 情報および定義スキーマ (SQL/スキーマ)
3 用語と定義
3.1 ISO/IEC 9075-1 で定義されている用語
このドキュメントの目的のために、ISO/IEC 9075-1 で定義されている次の用語が適用されます。
- a)コンパイル単位
- b)データ型
- c)記述子
- d)識別子
- e)実装定義
- f)実装依存
- g)インスタンス (値の)
- h)ゼロ値
- i)行
- j)シーケンス
- k) SQL 環境
- l) SQL の実装
- m) SQL文
- n)テーブル
3.2 ISO/IEC 9075-2 で定義されている用語
このドキュメントでは、ISO/IEC 9075-2 で定義されている次の用語が適用されます。
- a)割り当て
- b)属性
- c)カーディナリティ
- d)コンストラクター関数
- e)宣言された型
- f)外部ルーチン
- g)ミューテーター機能
- h)オブザーバー機能
- i) (SQL 呼び出しルーチンの) 署名
- j) SQLルーチン
- k) SQL呼び出しルーチン
- l)サブタイプ
- m)スーパータイプ
- n)型保存関数
- o)ユーザー定義型
- p)空白
3.3 ISO/IEC 13249 のこの部分で定義されている用語
このドキュメントでは、次の用語と定義が適用されます。
3.3.1
汎用データ型
ISO/IEC 9075 のどの部分にもまだ定義されていない種類のデータで、単一の企業よりも広い文脈で使用され、その表現方法を標準化することに利点がある
3.3.2
共通テーブル構造
表名と一連の列名とデータ型の列のセット 単一の企業よりも広いコンテキストで使用され、表現方法の標準化に利点がある SQL 表で構成される列のペア
3.3.3
メタ変数
実装依存または実装定義の定数を定義するために使用される変数
3.3.4
方法
ユーザー定義型が実行するアクションまたは変換の特定の実装、またはその型の値の表現が対象となる
注記 1:このような構造化型のユーザー定義メソッドを使用すると、SQL 実装により、ユーザーはデータベース システムの機能をオブジェクト指向の方法で拡張できます。
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.
The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives, 1. In particular the different approval criteria needed for the different types of document should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, 2 (see www.iso.org/directives ).
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declarations received (see www.iso.org/patents ).
Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement.
For an explanation on the meaning of ISO specific terms and expressions related to conformity assessment, as well as information about ISO's adherence to the WTO principles in the Technical Barriers to Trade (TBT) see the following URL: Foreword - Supplementary information
The committee responsible for this document is ISO/IEC JTC 1, Information technology, SC 32, Data management and interchange.
This fourth edition cancels and replaces the third edition (ISO/IEC 13249-1:2007), which has been technically revised.
ISO/IEC 13249 consists of the following parts, under the general title Information Technology ― Database languages ― SQL multimedia and application packages:
- Part 1: Framework
- Part 2: Full-Text
- Part 3: Spatial
- Part 5: Still image
- Part 6: Data mining
- Part 7: History
Parts other than this part specify requirements, and all are dependent on various parts of ISO/IEC 9075 and also on this part of ISO/IEC 13249.
Introduction
The purpose of this part of ISO/IEC 13249 is to define multimedia and application specific types and their associated routines using the user-defined features in parts of ISO/IEC 9075.
This document is based on the content of parts of ISO/IEC 9075, Information technology ― Database languages ― SQL.
The organization of this part of ISO/IEC 13249 is as follows:
- 1) Clause 1 specifies the scope of this part of ISO/IEC 13249.
- 2) Clause 2 identifies additional International Standards that, through reference in ISO/IEC 13249, constitute provisions of this part of ISO/IEC 13249, and hence to all parts of ISO/IEC 13249.
- 3) Clause 3 specifies terms and definitions used in ISO/IEC 13249.
- 4) Clause 4 describes the concepts used in ISO/IEC 13249.
- 5) Clause 5 summarizes the content of each of the parts of ISO/IEC 13249.
- 6) Clause 6 defines the notation and conventions used in other parts of ISO/IEC 13249.
- 7) Clause 7 describes the requirements relating to the implementation of ISO/IEC 13249.
- 8) Clause 8 specifies the conformance requirements for all or some of the parts of ISO/IEC 13249.
- 9) Annex A (Informative) describes the formal procedures for maintenance and interpretation of ISO/IEC 13249.
1 Scope
ISO/IEC 13249 defines a number of packages of generic data types and table structures common to various kinds of data used in multimedia and application areas, to enable that data to be stored and manipulated in an SQL database. The package in each subject area is defined as a part of ISO/IEC 13249.
This part of ISO/IEC 13249 defines those concepts, notations and conventions that are common to two or more other parts of ISO/IEC 13249. In particular, it describes the way parts of ISO/IEC 9075 are used to define the user-defined types and their behaviour and views as a representation of table structures appropriate to each subject area.
2 Normative references
The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.
- ISO/IEC 9075-1, Information technology― Database languages — SQL — 1: Framework (SQL/Framework)
- ISO/IEC 9075-2, Information technology ― Database languages — SQL — 2: Foundation (SQL/Foundation)
- ISO/IEC 9075-11, Information technology ― Database languages — SQL — 11: Information and definition schemas (SQL/Schemata)
3 Terms and definitions
3.1 Terms defined in ISO/IEC 9075-1
For the purposes of this document, the following terms defined in ISO/IEC 9075-1 apply.
- a) compilation unit
- b) data type
- c) descriptor
- d) identifier
- e) implementation-defined
- f) implementation-dependent
- g) instance (of a value)
- h) null value
- i) row
- j) sequence
- k) SQL-environment
- l) SQL-implementation
- m) SQL-statement
- n) table
3.2 Terms defined in ISO/IEC 9075-2
For the purposes of this document, the following terms defined in ISO/IEC 9075-2 apply.
- a) assignment
- b) attribute
- c) cardinality
- d) constructor function
- e) declared type
- f) external routine
- g) mutator function
- h) observer function
- i) signature (of an SQL-invoked routine)
- j) SQL routine
- k) SQL-invoked routine
- l) subtype
- m) supertype
- n) type-preserving function
- o) user-defined type
- p) white space
3.3 Terms defined in this part of ISO/IEC 13249
For the purposes of this document, the following terms and definitions apply.
3.3.1
generic data type
kind of data not already defined in any part of ISO/IEC 9075 that is used in a wider context than a single enterprise and for which there are advantages in standardizing the way it is represented
3.3.2
common table structure
set of a table name and a sequence of a column name and data type pairs of columns consisting of an SQL table that is used in a wider context than a single enterprise and for which there are advantages in standardizing the way it is represented
3.3.3
meta-variable
variable which is used to define implementation-dependent or implementation-defined constants
3.3.4
method
specific implementation of an action or transformation that a user-defined type performs or a representation of values of that type is subject to
Note 1 to entry: With such user-defined methods for structured types, an SQL-implementation allows users to extend the function of the database system in object-oriented manner.