没有合适的资源?快使用搜索试试~ 我知道了~
SQL 2003 standard part4
需积分: 3 42 下载量 24 浏览量
2008-07-24
10:30:35
上传
评论
收藏 1.05MB PDF 举报
温馨提示
试读
192页
共九部分:<br>— Part 1: Framework (SQL/Framework)<br>— Part 2: Foundation (SQL/Foundation)<br>— Part 3: Call-Level Interface (SQL/CLI)<br>— Part 4: Persistent Stored Modules (SQL/PSM)<br>— Part 9: Management of External Data (SQL/MED)<br>— Part 10: Object Language Bindings (SQL/OLB)<br>— Part 11: Information and Definition Schema (SQL/Schemata)<br>— Part 13: Routines and Types Using the JavaTM Programming Language (SQL/JRT)<br>— Part 14: XML-Related Specifications (SQL/XML)<br><br><br>Title: (ISO-ANSI Working Draft) Persistent Stored Modules (SQL/PSM)
资源推荐
资源详情
资源评论
WG3:HBA-005
H2-2003-307
August, 2003
ISO
International Organization for Standardization
ANSI
American National Standards Institute
ANSI TC NCITS H2
ISO/IEC JTC 1/SC 32/WG 3
Database
Title: (ISO-ANSI Working Draft) Persistent Stored Modules (SQL/PSM)
Author: Jim Melton (Editor)
References:
1) WG3:HBA-002 = H2-2003-304 = 5WD-01-Framework-2003-09, WD 9075-1 (SQL/Framework),
September, 2003
2) WG3:HBA-003 = H2-2003-305 = 5WD-02-Foundation-2003-09, WD 9075-2 (SQL/Foundation),
September, 2003
3) WG3:HBA-004 = H2-2003-306 = 5WD-03-CLI-2003-09, WD 9075-3 (SQL/CLI), September, 2003
4) WG3:HBA-005 = H2-2003-307 = 5WD-04-PSM-2003-09, WD 9075-4 (SQL/PSM), September,
2003
5) WG3:HBA-006 = H2-2003-308 = 5WD-09-MED-2003-09, WD 9075-9 (SQL/MED), September,
2003
6) WG3:HBA-007 = H2-2003-309 = 5WD-10-OLB-2003-09, WD 9075-10 (SQL/OLB), September,
2003
7) WG3:HBA-008 = H2-2003-310 = 5WD-11-Schemata-2003-09, WD 9075-11 (SQL/Schemata),
September, 2003
8) WG3:HBA-009 = H2-2003-311 = 5WD-13-JRT-2003-09, WD 9075-13 (SQL/JRT), September,
2003
9) WG3:HBA-010 = H2-2003-312 = 5WD-14-XML-2003-09, WD 9075-14 (SQL/XML), September,
2003
2
ISO/IEC JTC 1/SC 32
Date: 2003-07-25
ISO/IEC 9075-4:2003 (E)
ISO/IEC JTC 1/SC 32/WG 3
United States of America (ANSI)
Information technology — Database languages — SQL — Part 4: Persistent
Stored Modules (SQL/PSM)
Technologies de l'information— Langages de base de données — SQL — Partie 4: Modules stocké persistants
(SQL/PSM)
Document type: International standard
Document subtype:
Document stage: (4) Approval
Document language: English
Copyright notice
This ISO document is a Draft International Standard and is copyright-protected by ISO. Except as permitted under
the applicable laws of the user’s country, neither this ISO draft nor any extract from it may be reproduced, stored
in a retrieval system, or transmitted in any form or by any means, electronic, photocopying, recording, or otherwise,
without prior written permission being secured.
Requests for permission to reproduce should be addressed to ISO at the address below or ISO’s member body
in the country of the requester.
Copyright Manager
ISO Central Secretariat
1 rue de Varembé
1211 Geneva 20 Switzerland
tel. +41 22 749 0111
fax +41 22 734 1079
internet: [email protected]
Reproduction may be subject to royalty payments or a licensing agreement.
Violaters may be prosecuted.
Contents Page
Foreword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
1 Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Normative references. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 JTC1 standards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Definitions, notations, and conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1 Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1.1 Use of terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1.1.1 Other terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4 Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.1 SQL-server modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.2 Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.2.1 Types of tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.3 SQL-invoked routines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.3.1 Overview of SQL-invoked routines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.3.2 Execution of SQL-invoked routines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.4 SQL-schemas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.5 SQL-paths. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.6 Host parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.6.1 Status parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.7 Diagnostics area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.8 Cursors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.8.1 General description of cursors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.9 Condition handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.10 SQL-statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.10.1 Classes of SQL-statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.10.2 SQL-statements classified by function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.10.2.1 SQL-schema statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.10.2.2 SQL-control statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.10.2.3 SQL-control declarations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.10.2.4 SQL-diagnostics statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.10.3 Embeddable SQL-statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.10.4 Preparable and immediately executable SQL-statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.10.5 Directly executable SQL-statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.10.6 Iterated SQL-statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.10.7 SQL-statements and transaction states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
©ISO/IEC 2003 – All rights reserved Contents iii
剩余191页未读,继续阅读
资源评论
kkppccdd
- 粉丝: 1
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功