Oracle Rdb7™ SQL Reference Manual Volume 3

Total Page:16

File Type:pdf, Size:1020Kb

Oracle Rdb7™ SQL Reference Manual Volume 3 Oracle Rdb7™ SQL Reference Manual Volume 3 Release 7.0 Part No. A42812-1 ® SQL Reference Manual, Volume 3 Release 7.0 Part No. A42812-1 Copyright © 1987, 1996, Oracle Corporation. All rights reserved. This software contains proprietary information of Oracle Corporation; it is provided under a license agreement containing restrictions on use and disclosure and is also protected by copyright law. Reverse engineering of the software 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 writing. Oracle Corporation does not warrant that this document is error free. Restricted Rights Legend Programs delivered subject to the DOD FAR Supplement are ’commercial computer software’ and use, duplication and disclosure of the programs shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, programs delivered subject to the Federal Acquisition Regulations are ’restricted computer software’ and use, duplication and disclosure of the programs shall be subject to the restrictions in FAR 52.227-14, Rights in Data—General, including Alternate III (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065. The programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee’s responsibility to take all appropriate fail-safe, back up, redundancy and other measures to ensure the safe use of such applications if the programs are used for such purposes, and Oracle disclaims liability for any damages caused by such use of the programs. Oracle is a registered trademark of Oracle Corporation. Oracle CDD/Administrator, Oracle CDD/Repository, Oracle Rally, Oracle Rdb, Oracle RMU, Oracle SQL/Services, Distributed Option for Rdb, Rdb Transparent Gateway to RMS, Rdb Transparent Gateway to DB2, Rdb Transparent Gateway to Oracle, and Rdb7 are trademarks of Oracle Corporation. All other product or company names mentioned are used for identification purposes only, and may be trademarks of their respective owners. Contents Send Us Your Comments ........................................... xi Preface ........................................................... xiii Technical Changes and New Features ............................... xvii 7 SQL Statements DELETE Statement ......................................... 7–2 DESCRIBE Statement ....................................... 7–7 DISCONNECT Statement . ................................. 7–15 DROP CATALOG Statement . ................................. 7–20 DROP COLLATING SEQUENCE Statement ...................... 7–22 DROP CONSTRAINT Statement ............................... 7–25 DROP DATABASE Statement ................................. 7–27 DROP DOMAIN Statement . ................................. 7–31 DROP INDEX Statement ..................................... 7–35 DROP MODULE Statement . ................................. 7–38 DROP OUTLINE Statement . ................................. 7–41 DROP PATHNAME Statement ................................ 7–42 Drop Routine Statement ..................................... 7–43 DROP SCHEMA Statement . ................................. 7–46 DROP STORAGE MAP Statement .............................. 7–49 DROP TABLE Statement ..................................... 7–52 DROP TRIGGER Statement . ................................. 7–58 DROP VIEW Statement ...................................... 7–61 EDIT Statement . ......................................... 7–64 END DECLARE Statement . ................................. 7–71 Execute ( @ ) Statement ...................................... 7–74 iii EXECUTE Statement . ...................................... 7–77 EXECUTE IMMEDIATE Statement ............................ 7–85 EXIT Statement ............................................ 7–90 EXPORT Statement . ...................................... 7–91 FETCH Statement .......................................... 7–96 FOR Control Statement ...................................... 7–105 GET DIAGNOSTICS Statement . .............................. 7–109 GRANT Statement .......................................... 7–114 GRANT Statement, ANSI/ISO-Style ............................ 7–133 HELP Statement ........................................... 7–144 IF Control Statement . ...................................... 7–146 IMPORT Statement . ...................................... 7–149 INCLUDE Statement . ...................................... 7–174 INSERT Statement . ...................................... 7–182 INTEGRATE Statement ...................................... 7–195 LEAVE Control Statement .................................... 7–214 LOOP Control Statement ..................................... 7–216 OPEN Statement ........................................... 7–219 Operating System Invocation ( $ ) Statement ...................... 7–224 PREPARE Statement . ...................................... 7–226 PRINT Statement .......................................... 7–236 QUIT Statement ........................................... 7–238 RELEASE Statement . ...................................... 7–239 RETURN Control Statement .................................. 7–243 REVOKE Statement . ...................................... 7–245 REVOKE Statement, ANSI/ISO-Style ........................... 7–255 ROLLBACK Statement ...................................... 7–263 SELECT Statement: General Form ............................. 7–265 SELECT Statement: Singleton Select ........................... 7–275 SET Statement ............................................ 7–278 SET ALIAS Statement . ...................................... 7–302 SET ALL CONSTRAINTS Statement ........................... 7–305 SET ANSI Statement . ...................................... 7–308 SET CATALOG Statement .................................... 7–311 SET CHARACTER LENGTH Statement . ...................... 7–316 SET CONNECT Statement ................................... 7–320 SET Control Statement ...................................... 7–324 iv SET DEFAULT CHARACTER SET Statement .................... 7–326 SET DEFAULT DATE FORMAT Statement ....................... 7–328 SET DIALECT Statement . ................................. 7–330 SET FLAGS Statement ...................................... 7–342 SET HOLD CURSORS Statement .............................. 7–349 SET IDENTIFIER CHARACTER SET Statement . ................ 7–352 SET KEYWORD RULES Statement . ......................... 7–354 SET LITERAL CHARACTER SET Statement ..................... 7–357 SET NAMES Statement ...................................... 7–359 SET NATIONAL CHARACTER SET Statement . ................ 7–362 SET OPTIMIZATION LEVEL Statement ......................... 7–364 SET QUOTING RULES Statement ............................. 7–368 SET SCHEMA Statement . ................................. 7–372 SET TRANSACTION Statement ............................... 7–376 SET VIEW UPDATE RULES Statement ......................... 7–401 SHOW Statement . ......................................... 7–405 Simple Statement . ......................................... 7–441 SIGNAL Control Statement . ................................. 7–443 TRACE Control Statement . ................................. 7–448 TRUNCATE TABLE Statement ................................ 7–451 UNDECLARE Variable Statement .............................. 7–454 UPDATE Statement ......................................... 7–455 WHENEVER Statement ..................................... 7–460 A Error Messages A.1 Types of Error Messages and Their Format ....................... A–1 A.2 Error Message Documentation ................................. A–3 A.3 Errors Generated When You Use SQL Statements . ................ A–4 A.4 Identifying Precompiler and Module Language Errors ............... A–8 A.5 sqlmsg.mdf - Error Message File for Digital UNIX . ................ A–8 v B The SQL Communications Area (SQLCA) and the Message Vector B.1 The SQLCA . .............................................. B–2 B.2 The Message Vector . ...................................... B–11 B.3 Declarations of the SQLCA and the Message Vector . ............. B–13 C SQLSTATE C.1 Definition of the SQLSTATE Status Parameter .................... C–2 C.2 Use of the SQLSTATE Status Parameter . ...................... C–4 D The SQL Dynamic Descriptor Areas (SQLDA and SQLDA2) D.1 Purpose of the SQLDA . ...................................... D–1 D.2 How SQL and Programs Use the SQLDA . ...................... D–3 D.3 Declaring the SQLDA . ...................................... D–5 D.4 Description of Fields in the SQLDA ............................. D–9 D.5 Parameters Associated with the SQLDA: SQLSIZE and SQLDAPTR . D–14 D.6 Purpose of the SQLDA2 ...................................... D–15 D.6.1 Declaring the SQLDA2 .................................... D–16 D.6.2 Description of Fields in the SQLDA2 . ...................... D–18 E Logical Names and Configuration Parameters Used by SQL F Obsolete SQL Syntax F.1 Incompatible Syntax . ...................................... F–1 F.1.1 Incompatible Syntax Containing the SCHEMA Keyword .......... F–2 F.1.1.1 CREATE SCHEMA Meaning Incompatible ................. F–2 F.1.1.2 SHOW SCHEMA Meaning Incompatible ................... F–2 F.1.1.3 DROP SCHEMA Meaning Incompatible ................... F–2 F.1.2 DROP TABLE Now Restricts by Default ...................... F–3 F.1.3 Database Handle Names
Recommended publications
  • Documents and Attachments 57 Chapter 7: Dbamp Stored Procedure Reference
    CData Software, Inc. DBAmp SQL Server Integration with Salesforce.com Version 5.1.6 Copyright © 2021 CData Software, Inc. All rights reserved. Table of Contents Acknowledgments ........................................................................... 7 Chapter 1: Installation/Upgrading ................................................. 8 Upgrading an existing installation ......................................................... 8 Prerequistes ....................................................................................... 9 Running the DBAmp installation file...................................................... 9 Configure the DBAmp provider options ................................................. 9 Connecting DBAmp to SQL Server ...................................................... 10 Verifying the linked server ................................................................. 11 Install the DBAmp Stored Procedures ................................................. 11 Running the DBAmp Configuration Program........................................ 11 Setting up the DBAmp Work Directory ................................................ 12 Enabling xp_cmdshell for DBAmp ....................................................... 13 Pointing DBAmp to your Salesforce Sandbox Instance ......................... 13 Chapter 2: Using DBAMP as a Linked Server ................................ 14 Four Part Object Names .................................................................... 14 SQL versus SOQL .............................................................................
    [Show full text]
  • Declare Syntax in Pl Sql
    Declare Syntax In Pl Sql NickieIs Pierre perennates desecrated some or constant stunner afterafter pomiferousprojectional Sydney Alberto appreciatingconfabulate mourningly.so Jewishly? Abused Gordan masons, his hakim barged fasts reparably. Encircled It could write utility it an sql in the original session state in turn off timing command line if it needs to learn about oracle Berkeley electronic form, and os commands, declare syntax in pl sql syntax shows how odi can execute. To select in response times when it declares an assignment statement to change each actual parameter can be open in a declarative part. Sql functions run on a timing vulnerabilities when running oracle pl sql syntax shows how use? To learn how to performance overhead of an object changes made to explain plan chooses by create applications. Have an archaic law that declare subprograms, declaring variables declared collection of declarations and return result set cookies that references or distinct or script? Plus statements that column, it is not oracle pl sql syntax shows no errors have a nested blocks or a recordset. Always nice the highest purity level line a subprogram allows. The script creates the Oracle system parameters, though reception can be changed by the inactive program. If necessary to declare that are declared in trailing spaces cause a declarative part at precompile time. This syntax defines cursors declared in oracle pl sql. Run on that subprograms as columns and you use a variable must be recompiled at any syntax defines cursors. All procedures move forward references to it is executed at runtime engine runs for this frees memory than store.
    [Show full text]
  • Querying Graph Databases: What Do Graph Patterns Mean?
    Querying Graph Databases: What Do Graph Patterns Mean? Stephan Mennicke1( ), Jan-Christoph Kalo2, and Wolf-Tilo Balke2 1 Institut für Programmierung und Reaktive Systeme, TU Braunschweig, Germany [email protected] 2 Institut für Informationssysteme, TU Braunschweig, Germany {kalo,balke}@ifis.cs.tu-bs.de Abstract. Querying graph databases often amounts to some form of graph pattern matching. Finding (sub-)graphs isomorphic to a given graph pattern is common to many graph query languages, even though graph isomorphism often is too strict, since it requires a one-to-one cor- respondence between the nodes of the pattern and that of a match. We investigate the influence of weaker graph pattern matching relations on the respective queries they express. Thereby, these relations abstract from the concrete graph topology to different degrees. An extension of relation sequences, called failures which we borrow from studies on con- current processes, naturally expresses simple presence conditions for rela- tions and properties. This is very useful in application scenarios dealing with databases with a notion of data completeness. Furthermore, fail- ures open up the query modeling for more intricate matching relations directly incorporating concrete data values. Keywords: Graph databases · Query modeling · Pattern matching 1 Introduction Over the last years, graph databases have aroused a vivid interest in the database community. This is partly sparked by intelligent and quite robust developments in information extraction, partly due to successful standardizations for knowl- edge representation in the Semantic Web. Indeed, it is enticing to open up the abundance of unstructured information on the Web through transformation into a structured form that is usable by advanced applications.
    [Show full text]
  • Operation in Xql______34 4.5 Well-Formedness Rules of Xql ______36 4.6 Summary ______42
    Translation of OCL Invariants into SQL:99 Integrity Constraints Master Thesis Submitted by: Veronica N. Tedjasukmana [email protected] Information and Media Technologies Matriculation Number: 29039 Supervised by: Prof. Dr. Ralf MÖLLER STS - TUHH Prof. Dr. Helmut WEBERPALS Institut für Rechnertechnologie – TUHH M.Sc. Miguel GARCIA STS - TUHH Hamburg, Germany 31 August 2006 Declaration I declare that: this work has been prepared by myself, all literally or content-related quotations from other sources are clearly pointed out, and no other sources or aids than the ones that are declared are used. Hamburg, 31 August 2006 Veronica N. Tedjasukmana i Table of Contents Declaration __________________________________________________________________ i Table of Contents _____________________________________________________________ ii 1 Introduction ______________________________________________________________ 1 1.1 Motivation _____________________________________________________________ 1 1.2 Objective ______________________________________________________________ 2 1.3 Structure of the Work ____________________________________________________ 2 2 Constraint Languages ______________________________________________________ 3 2.1 Defining Constraint in OCL _______________________________________________ 3 2.1.1 Types of Constraints ________________________________________________ 4 2.2 Defining Constraints in Database ___________________________________________ 4 2.3 Comparison of Constraint Language_________________________________________
    [Show full text]
  • Embedded Database Logic
    Embedded Database Logic Lecture #15 Database Systems Andy Pavlo 15-445/15-645 Computer Science Fall 2018 AP Carnegie Mellon Univ. 2 ADMINISTRIVIA Project #3 is due Monday October 19th Project #4 is due Monday December 10th Homework #4 is due Monday November 12th CMU 15-445/645 (Fall 2018) 3 UPCOMING DATABASE EVENTS BlazingDB Tech Talk → Thursday October 25th @ 12pm → CIC - 4th floor (ISTC Panther Hollow Room) Brytlyt Tech Talk → Thursday November 1st @ 12pm → CIC - 4th floor (ISTC Panther Hollow Room) CMU 15-445/645 (Fall 2018) 4 OBSERVATION Until now, we have assumed that all of the logic for an application is located in the application itself. The application has a "conversation" with the DBMS to store/retrieve data. → Protocols: JDBC, ODBC CMU 15-445/645 (Fall 2018) 5 CONVERSATIONAL DATABASE API Application Parser Planner Optimizer BEGIN Query Execution SQL Program Logic SQL Program Logic ⋮ COMMIT CMU 15-445/645 (Fall 2018) 5 CONVERSATIONAL DATABASE API Application Parser Planner Optimizer BEGIN Query Execution SQL Program Logic SQL Program Logic ⋮ COMMIT CMU 15-445/645 (Fall 2018) 5 CONVERSATIONAL DATABASE API Application Parser Planner Optimizer BEGIN Query Execution SQL Program Logic SQL Program Logic ⋮ COMMIT CMU 15-445/645 (Fall 2018) 5 CONVERSATIONAL DATABASE API Application Parser Planner Optimizer BEGIN Query Execution SQL Program Logic SQL Program Logic ⋮ COMMIT CMU 15-445/645 (Fall 2018) 5 CONVERSATIONAL DATABASE API Application Parser Planner Optimizer BEGIN Query Execution SQL Program Logic SQL Program Logic ⋮ COMMIT CMU 15-445/645 (Fall 2018) 6 EMBEDDED DATABASE LOGIC Move application logic into the DBMS to avoid multiple network round-trips.
    [Show full text]
  • Alias for Case Statement in Oracle
    Alias For Case Statement In Oracle two-facedly.FonsieVitric Connie shrieved Willdon reconnects his Carlenegrooved jimply discloses her and pyrophosphates mutationally, knavishly, butshe reticularly, diocesan flounces hobnail Kermieher apache and never reddest. write disadvantage person-to-person. so Column alias can be used in GROUP a clause alone is different to promote other database management systems such as Oracle and SQL Server See Practice 6-1. Kotlin performs for example, in for alias case statement. If more want just write greater Less evident or butter you fuck do like this equity Case When ColumnsName 0 then 'value1' When ColumnsName0 Or ColumnsName. Normally we mean column names using the create statement and alias them in shape if. The logic to behold the right records is in out CASE statement. As faceted search string manipulation features and case statement in for alias oracle alias? In the following examples and managing the correct behaviour of putting each for case of a prefix oracle autonomous db driver to select command that updates. The four lines with the concatenated case statement then the alias's will work. The following expression jOOQ. Renaming SQL columns based on valve position Modern SQL. SQLite CASE very Simple CASE & Search CASE. Alias on age line ticket do I pretend it once the same path in the. Sql and case in. Gke app to extend sql does that alias for case statement in oracle apex jobs in cases, its various points throughout your. Oracle Creating Joins with the USING Clause w3resource. Multi technology and oracle alias will look further what we get column alias for case statement in oracle.
    [Show full text]
  • SQL DELETE Table in SQL, DELETE Statement Is Used to Delete Rows from a Table
    SQL is a standard language for storing, manipulating and retrieving data in databases. What is SQL? SQL stands for Structured Query Language SQL lets you access and manipulate databases SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the International Organization for Standardization (ISO) in 1987 What Can SQL do? SQL can execute queries against a database SQL can retrieve data from a database SQL can insert records in a database SQL can update records in a database SQL can delete records from a database SQL can create new databases SQL can create new tables in a database SQL can create stored procedures in a database SQL can create views in a database SQL can set permissions on tables, procedures, and views Using SQL in Your Web Site To build a web site that shows data from a database, you will need: An RDBMS database program (i.e. MS Access, SQL Server, MySQL) To use a server-side scripting language, like PHP or ASP To use SQL to get the data you want To use HTML / CSS to style the page RDBMS RDBMS stands for Relational Database Management System. RDBMS is the basis for SQL, and for all modern database systems such as MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access. The data in RDBMS is stored in database objects called tables. A table is a collection of related data entries and it consists of columns and rows. SQL Table SQL Table is a collection of data which is organized in terms of rows and columns.
    [Show full text]
  • Chapter 11 Querying
    Oracle TIGHT / Oracle Database 11g & MySQL 5.6 Developer Handbook / Michael McLaughlin / 885-8 Blind folio: 273 CHAPTER 11 Querying 273 11-ch11.indd 273 9/5/11 4:23:56 PM Oracle TIGHT / Oracle Database 11g & MySQL 5.6 Developer Handbook / Michael McLaughlin / 885-8 Oracle TIGHT / Oracle Database 11g & MySQL 5.6 Developer Handbook / Michael McLaughlin / 885-8 274 Oracle Database 11g & MySQL 5.6 Developer Handbook Chapter 11: Querying 275 he SQL SELECT statement lets you query data from the database. In many of the previous chapters, you’ve seen examples of queries. Queries support several different types of subqueries, such as nested queries that run independently or T correlated nested queries. Correlated nested queries run with a dependency on the outer or containing query. This chapter shows you how to work with column returns from queries and how to join tables into multiple table result sets. Result sets are like tables because they’re two-dimensional data sets. The data sets can be a subset of one table or a set of values from two or more tables. The SELECT list determines what’s returned from a query into a result set. The SELECT list is the set of columns and expressions returned by a SELECT statement. The SELECT list defines the record structure of the result set, which is the result set’s first dimension. The number of rows returned from the query defines the elements of a record structure list, which is the result set’s second dimension. You filter single tables to get subsets of a table, and you join tables into a larger result set to get a superset of any one table by returning a result set of the join between two or more tables.
    [Show full text]
  • SQL Stored Procedures
    Agenda Key:31MA Session Number:409094 DB2 for IBM i: SQL Stored Procedures Tom McKinley ([email protected]) DB2 for IBM i consultant IBM Lab Services 8 Copyright IBM Corporation, 2009. All Rights Reserved. This publication may refer to products that are not currently available in your country. IBM makes no commitment to make available any products referred to herein. What is a Stored Procedure? • Just a called program – Called from SQL-based interfaces via SQL CALL statement • Supports input and output parameters – Result sets on some interfaces • Follows security model of iSeries – Enables you to secure your data – iSeries adopted authority model can be leveraged • Useful for moving host-centric applications to distributed applications 2 © 2009 IBM Corporation What is a Stored Procedure? • Performance savings in distributed computing environments by dramatically reducing the number of flows (requests) to the database engine – One request initiates multiple transactions and processes R R e e q q u u DB2 for i5/OS DB2DB2 for for i5/OS e e AS/400 s s t t SP o o r r • Performance improvements further enhanced by the option of providing result sets back to ODBC, JDBC, .NET & CLI clients 3 © 2009 IBM Corporation Recipe for a Stored Procedure... 1 Create it CREATE PROCEDURE total_val (IN Member# CHAR(6), OUT total DECIMAL(12,2)) LANGUAGE SQL BEGIN SELECT SUM(curr_balance) INTO total FROM accounts WHERE account_owner=Member# AND account_type IN ('C','S','M') END 2 Call it (from an SQL interface) over and over CALL total_val(‘123456’, :balance) 4 © 2009 IBM Corporation Stored Procedures • DB2 for i5/OS supports two types of stored procedures 1.
    [Show full text]
  • Database SQL Call Level Interface 7.1
    IBM IBM i Database SQL call level interface 7.1 IBM IBM i Database SQL call level interface 7.1 Note Before using this information and the product it supports, read the information in “Notices,” on page 321. This edition applies to IBM i 7.1 (product number 5770-SS1) and to all subsequent releases and modifications until otherwise indicated in new editions. This version does not run on all reduced instruction set computer (RISC) models nor does it run on CISC models. © Copyright IBM Corporation 1999, 2010. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents SQL call level interface ........ 1 SQLExecute - Execute a statement ..... 103 What's new for IBM i 7.1 .......... 1 SQLExtendedFetch - Fetch array of rows ... 105 PDF file for SQL call level interface ....... 1 SQLFetch - Fetch next row ........ 107 Getting started with DB2 for i CLI ....... 2 SQLFetchScroll - Fetch from a scrollable cursor 113 | Differences between DB2 for i CLI and embedded SQLForeignKeys - Get the list of foreign key | SQL ................ 2 columns .............. 115 Advantages of using DB2 for i CLI instead of SQLFreeConnect - Free connection handle ... 120 embedded SQL ............ 5 SQLFreeEnv - Free environment handle ... 121 Deciding between DB2 for i CLI, dynamic SQL, SQLFreeHandle - Free a handle ...... 122 and static SQL ............. 6 SQLFreeStmt - Free (or reset) a statement handle 123 Writing a DB2 for i CLI application ....... 6 SQLGetCol - Retrieve one column of a row of Initialization and termination tasks in a DB2 for i the result set ............ 125 CLI application ............ 7 SQLGetConnectAttr - Get the value of a Transaction processing task in a DB2 for i CLI connection attribute .........
    [Show full text]
  • SQL Version Analysis
    Rory McGann SQL Version Analysis Structured Query Language, or SQL, is a powerful tool for interacting with and utilizing databases through the use of relational algebra and calculus, allowing for efficient and effective manipulation and analysis of data within databases. There have been many revisions of SQL, some minor and others major, since its standardization by ANSI in 1986, and in this paper I will discuss several of the changes that led to improved usefulness of the language. In 1970, Dr. E. F. Codd published a paper in the Association of Computer Machinery titled A Relational Model of Data for Large shared Data Banks, which detailed a model for Relational database Management systems (RDBMS) [1]. In order to make use of this model, a language was needed to manage the data stored in these RDBMSs. In the early 1970’s SQL was developed by Donald Chamberlin and Raymond Boyce at IBM, accomplishing this goal. In 1986 SQL was standardized by the American National Standards Institute as SQL-86 and also by The International Organization for Standardization in 1987. The structure of SQL-86 was largely similar to SQL as we know it today with functionality being implemented though Data Manipulation Language (DML), which defines verbs such as select, insert into, update, and delete that are used to query or change the contents of a database. SQL-86 defined two ways to process a DML, direct processing where actual SQL commands are used, and embedded SQL where SQL statements are embedded within programs written in other languages. SQL-86 supported Cobol, Fortran, Pascal and PL/1.
    [Show full text]
  • Developing Embedded SQL Applications
    IBM DB2 10.1 for Linux, UNIX, and Windows Developing Embedded SQL Applications SC27-3874-00 IBM DB2 10.1 for Linux, UNIX, and Windows Developing Embedded SQL Applications SC27-3874-00 Note Before using this information and the product it supports, read the general information under Appendix B, “Notices,” on page 209. Edition Notice This document contains proprietary information of IBM. It is provided under a license agreement and is protected by copyright law. The information contained in this publication does not include any product warranties, and any statements provided in this manual should not be interpreted as such. You can order IBM publications online or through your local IBM representative. v To order publications online, go to the IBM Publications Center at http://www.ibm.com/shop/publications/ order v To find your local IBM representative, go to the IBM Directory of Worldwide Contacts at http://www.ibm.com/ planetwide/ To order DB2 publications from DB2 Marketing and Sales in the United States or Canada, call 1-800-IBM-4YOU (426-4968). When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright IBM Corporation 1993, 2012. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Chapter 1. Introduction to embedded Include files for COBOL embedded SQL SQL................1 applications .............29 Embedding SQL statements
    [Show full text]