




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、OracleSQL*Modulefor AdaProgrammers Guide 10g Release 2 (10.2)A58231-03May 2006Oracle SQL*Module for Ada Programmers Guide, 10g Release 2 (10.2) A58231-03Copyright 2001, 2006, Oracle. All rights reserved. Primary Author:Contributing Author:Contributor:The Programs (which include both the software and
2、 documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Progr
3、ams, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in wri
4、ting. This document is not warranted to be error-free.Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.If the Programs are delivered to
5、the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable:U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are commercia
6、l computer software or commercial technical data pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject t
7、o the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software-Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.The Programs ar
8、e not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensees responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used f
9、or such purposes, and we disclaim liability for any damages caused by such use of the Programs.Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.The Programs may provide links to
10、Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a thir
11、d party, the relationship is directly between you and the third party. Oracle is not responsible for:(a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations rela
12、ted to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.ContentsPreface .ixix ix xxIntendedAudience.DocumentationAccessibility.StandardsConformance.Conventions .1Introduction to SQL*ModuleWhatIs SQL*Modu
13、le?.Background .Precompilers .The Module Language Concept.SQL*Module as an InterfaceBuilder .What Is Supported by SQL*Module? .What SQL Statements are Not Supported by SQL*Module? .1-11-11-21-31-51-71-72Module LanguageTheModule .An Example Module.A Short Example Program in Ada.Structure of a Module.
14、Preamble.MODULE Clause.2-12-12-32-62-62-62-62-62-72-82-82-82-82-92-102-112-112-112-13LANGUAGEClause.AUTHORIZATIONClause .CursorDeclarations .ProcedureDefinitions.Procedure Name.ParameterList.SQL92Syntax.SQLDatatypes .SQL Commands.Text in aModule .Comments .IndicatorParameters .Status Parameters .iii
15、ErrorMessages .2-132-132-142-142-152-152-152-162-162-162-16CONNECTStatement.SETCONNECTION Statement.DISCONNECTStatement .Multi-tasking.ENABLETHREADS .SQL_CONTEXTDatatype .CONTEXTALLOCATE .CONTEXT FREE.Multi-taskingMulti-taskingRestrictions.Example.3Accessing Stored ProceduresPL/SQL.Procedures.3-13-2
16、3-23-33-33-43-53-63-73-73-73-83-83-93-93-93-93-103-113-113-123-123-123-143-15Stored Procedures.StoredPackages .Accessing Stored Procedures .Case of Package and Procedure Names .Early and Late Binding .Cursor Variables.CursorVariable Parameters.Allocating a Cursor Variable.Opening a Cursor Variable.O
17、pening in a Stand-alone Stored Procedure.Return Types.Closing a Cursor Variable.Restrictions on Cursor Variables .DynamicSQL .The WITH INTERFACEClause .Examples .SQLDatatypes .DATEDatatype .The Default WITH INTERFACE Clause.Procedures.Functions .Storing Module Language Procedures .Connecting to aDat
18、abase .4Developing the Ada ApplicationProgramStructure .4-14-24-24-24-24-44-4Error Handling.SQLCODE .Obtaining Error Message Text .SQLSTATE .Obtaining the Number of Rows Processed.Handling Nulls .ivIndicatorVariables.4-54-64-64-64-64-7Cursors.Specification Files .Calling a Procedure .Arrays as Procedure Arguments.Globalization Support.5Running SQL*ModuleSQL*Module Input and Output .Input sources.Output Files.Determining the Input Source.Invoking SQL*Mod
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 公司项目合同转让协议书
- 安徽省宿州市十三所省重点中学2025届物理高一第二学期期末统考试题含解析
- 公司付款委托书标准
- 全神贯注阅读答案
- 做有智慧的幼儿教师读书心得体会
- 保洁员个人工作辞职报告
- 2025届福建省厦门市外国语学校物理高二下期末监测试题含解析
- 轮式移动机器人结构设计与优化研究
- 2025届江西省上高县二中物理高二下期末质量跟踪监视模拟试题含解析
- 关节囊炎的健康宣教
- 市政设施维护服务项目方案
- 横纹肌溶解症课件
- GB/T 23806-2009精细陶瓷断裂韧性试验方法单边预裂纹梁(SEPB)法
- GB/T 23312.1-2009漆包铝圆绕组线第1部分:一般规定
- 交通运输行业建设工程生产安全事故统计调查制度
- SAP联产品生产订单结算过程x
- 2021年呼伦贝尔农垦集团有限公司校园招聘笔试试题及答案解析
- 宫外孕右输卵管妊娠腹腔镜下盆腔粘连分解术、右输卵管妊娠开窗取胚术手术记录模板
- 教科版 科学小学二年级下册期末测试卷及参考答案(基础题)
- 混凝土重力坝设计说明书
- 弱电设备维护保养方案
评论
0/150
提交评论