499 lines
35 KiB
XML
499 lines
35 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<?NLS TYPE="org.eclipse.help.toc"?>
|
||
|
<toc label="DB2 UDB SQL Programming" link_to="../rzahg/icnavx_toc.xml#sqlp/rbafy.xml" topic="rbafykickoff.htm">
|
||
|
<topic href="rbafykickoff.htm" label="SQL programming">
|
||
|
<topic href="rbafywhatsnew.htm" label="What's new for V5R4"/>
|
||
|
<topic href="rbafyprintthis.htm" label="Printable PDF"/>
|
||
|
<topic href="rbafyintro.htm" label="Introduction to DB2 UDB for iSeries Structured Query Language">
|
||
|
<topic href="rbafysqlconcepts.htm" label="SQL concepts">
|
||
|
<topic href="rbafyxdbterms.htm" label="SQL relational database and system terminology"/>
|
||
|
<topic href="rbafyterms.htm" label="SQL and system naming conventions"/>
|
||
|
<topic href="rbafystmtype.htm" label="Types of SQL statements"/>
|
||
|
<topic href="rbafysqlpcca.htm" label="SQL communication area (SQLCA)"/>
|
||
|
<topic href="rbafysqldiag.htm" label="SQL diagnostics area"/>
|
||
|
</topic>
|
||
|
<topic href="rbafysqlobjects.htm" label="SQL objects">
|
||
|
<topic href="rbafyconschema.htm" label="Schemas"/>
|
||
|
<topic href="rbafyconjournal.htm" label="Journals and journal receivers"/>
|
||
|
<topic href="rbafyconcatalogs.htm" label="Catalogs"/>
|
||
|
<topic href="rbafycontables.htm" label="Tables, rows, and columns"/>
|
||
|
<topic href="rbafyaliasdef.htm" label="Aliases"/>
|
||
|
<topic href="rbafyviewex.htm" label="Views"/>
|
||
|
<topic href="rbafyindexex.htm" label="Indexes"/>
|
||
|
<topic href="rbafyconstex.htm" label="Constraints"/>
|
||
|
<topic href="rbafytrigger1.htm" label="Triggers"/>
|
||
|
<topic href="rbafystored1.htm" label="Stored procedures"/>
|
||
|
<topic href="rbafy1sequence.htm" label="Sequences"/>
|
||
|
<topic href="rbafyusrdeffun.htm" label="User-defined functions"/>
|
||
|
<topic href="rbafyusrdeftype.htm" label="User-defined types"/>
|
||
|
<topic href="rbafypack1.htm" label="SQL packages"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyapplprogobjects.htm" label="Application program objects">
|
||
|
<topic href="rbafysqlpcusfm.htm" label="User source file member"/>
|
||
|
<topic href="rbafysqlpcosfm.htm" label="Output source file member"/>
|
||
|
<topic href="rbafysqlpcprogram.htm" label="Program"/>
|
||
|
<topic href="rbafysqlpcpackage.htm" label="SQL package"/>
|
||
|
<topic href="rbafysqlpcmodule.htm" label="Module"/>
|
||
|
<topic href="rbafysqlpcservicepgm.htm" label="Service program"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafysqltech.htm" label="Data definition language (DDL)">
|
||
|
<topic href="rbafysqlpcschema.htm" label="Create a schema"/>
|
||
|
<topic href="rbafysqlpctablecreate.htm" label="Create a table">
|
||
|
<topic href="rbafyaddconstraints.htm" label="Add and remove constraints to a table"/>
|
||
|
<topic href="rbafyrefinteg.htm" label="Referential integrity and tables">
|
||
|
<topic href="rbafyaddor.htm" label="Add or drop referential constraints"/>
|
||
|
<topic href="rbafyaddrcon.htm" label="Add referential constraints"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyremovecon.htm" label="Remove constraints"/>
|
||
|
<topic href="rbafyrfcheck.htm" label="Check pending"/>
|
||
|
</topic>
|
||
|
<topic href="rbafycrttbllike.htm" label="Create a table using LIKE"/>
|
||
|
<topic href="rbafycrttblas.htm" label="Create a table using AS"/>
|
||
|
<topic href="rbafymqt.htm" label="Create and alter a materialized query table"/>
|
||
|
<topic href="rbafydeclaretemptbl.htm" label="Declare a global temporary table"/>
|
||
|
<topic href="rbafysqlpidentity.htm" label="Create and alter an identity column"/>
|
||
|
<topic href="rbafyrowid.htm" label="Use ROWID"/>
|
||
|
<topic href="rbafysequence.htm" label="Create and use sequences">
|
||
|
<topic href="rbafyidentsequence.htm" label="Comparison of identity columns and sequences"/>
|
||
|
</topic>
|
||
|
<topic href="rbafycreatinglabelon.htm" label="Create descriptive labels using the LABEL ON statement"/>
|
||
|
<topic href="rbafydescribingcommenton.htm" label="Describe an SQL object using COMMENT ON"/>
|
||
|
<topic href="rbafyalter.htm" label="Change a table definition">
|
||
|
<topic href="rbafyaddcol.htm" label="Add a column"/>
|
||
|
<topic href="rbafychgcol.htm" label="Change a column"/>
|
||
|
<topic href="rbafyallowable.htm" label="Allowable conversions"/>
|
||
|
<topic href="rbafydelcol.htm" label="Delete a column"/>
|
||
|
<topic href="rbafyorderop.htm" label="Order of operations for ALTER TABLE statement"/>
|
||
|
</topic>
|
||
|
<topic href="rbafycreatingalias.htm" label="Create and use ALIAS names"/>
|
||
|
<topic href="rbafyviewnt.htm" label="Create and use views">
|
||
|
<topic href="rbafywcohdg.htm" label="WITH CHECK OPTION on a View">
|
||
|
<topic href="rbafywithcascade.htm" label="WITH CASCADED CHECK OPTION"/>
|
||
|
<topic href="rbafywithlocalcheck.htm" label="WITH LOCAL CHECK OPTION"/>
|
||
|
<topic href="rbafyexcascade.htm" label="Cascaded check option"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafycrtindx.htm" label="Add indexes"/>
|
||
|
<topic href="rbafydbcat.htm" label="Catalogs in database design">
|
||
|
<topic href="rbafycattbl.htm" label="Get catalog information about a table"/>
|
||
|
<topic href="rbafycatcol.htm" label="Get catalog information about a column"/>
|
||
|
</topic>
|
||
|
<topic href="rbafysqlpcdropping.htm" label="Drop a database object"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydml.htm" label="Data manipulation language">
|
||
|
<topic href="rbafytexas.htm" label="Retrieve data using the SELECT statement">
|
||
|
<topic href="rbafyselectbasic.htm" label="Basic SELECT statement"/>
|
||
|
<topic href="rbafywhere.htm" label="Specify a search condition using the WHERE clause">
|
||
|
<topic href="rbafywhereexp.htm" label="Expressions in the WHERE clause"/>
|
||
|
<topic href="rbafycompop.htm" label="Comparison operators"/>
|
||
|
<topic href="rbafynotkwd.htm" label="NOT keyword"/>
|
||
|
</topic>
|
||
|
<topic href="rbafygroup.htm" label="GROUP BY clause"/>
|
||
|
<topic href="rbafyhaving.htm" label="HAVING clause"/>
|
||
|
<topic href="rbafyorderby.htm" label="ORDER BY clause"/>
|
||
|
<topic href="rbafycolum.htm" label="Static SELECT statements"/>
|
||
|
<topic href="rbafynulls.htm" label="Handle null values"/>
|
||
|
<topic href="rbafyspecreg.htm" label="Special registers in SQL statements"/>
|
||
|
<topic href="rbafycasting.htm" label="Cast data types"/>
|
||
|
<topic href="rbafydtts.htm" label="Date, time, and timestamp data types">
|
||
|
<topic href="rbafyspecifycurdate.htm" label="Specify current date and time values"/>
|
||
|
<topic href="rbafydatearithmetic.htm" label="Date/time arithmetic"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydupl.htm" label="Handle duplicate rows"/>
|
||
|
<topic href="rbafycomsrch.htm" label="Define complex search conditions">
|
||
|
<topic href="rbafyspeciallike.htm" label="Special considerations for LIKE"/>
|
||
|
<topic href="rbafymultiplewhere.htm" label="Multiple search conditions within a WHERE clause"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyolap.htm" label="Use OLAP specifications"/>
|
||
|
<topic href="rbafyjoin.htm" label="Join data from more than one table">
|
||
|
<topic href="rbafyinj.htm" label="Inner join">
|
||
|
<topic href="rbafyinsyn.htm" label="Inner join using JOIN syntax"/>
|
||
|
<topic href="rbafyinwhere.htm" label="Inner join using the WHERE clause"/>
|
||
|
<topic href="rbafyjoinusing.htm" label="Join data with the USING clause"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyloj.htm" label="Left outer join"/>
|
||
|
<topic href="rbafyrojo.htm" label="Right outer join"/>
|
||
|
<topic href="rbafyexjo.htm" label="Exception join"/>
|
||
|
<topic href="rbafycrojo.htm" label="Cross join"/>
|
||
|
<topic href="rbafysimulatefoj.htm" label="Simulate a full outer join"/>
|
||
|
<topic href="rbafymjointypes.htm" label="Multiple join types in one statement"/>
|
||
|
</topic>
|
||
|
<topic href="rbafytabexp.htm" label="Use table expressions"/>
|
||
|
<topic href="rbafyrecursivequeries.htm" label="Use recursive queries"/>
|
||
|
<topic href="rbafykeyu.htm" label="Use UNION keyword to combine subselects">
|
||
|
<topic href="rbafykeyuall.htm" label="Specify UNION ALL"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyexcept.htm" label="Use EXCEPT keyword"/>
|
||
|
<topic href="rbafyintersect.htm" label="Use INTERSECT keyword"/>
|
||
|
<topic href="rbafyretrievalerrors.htm" label="Data retrieval errors"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyinsert.htm" label="Insert rows using the INSERT statement">
|
||
|
<topic href="rbafyvalues.htm" label="Insert rows using the VALUES keyword"/>
|
||
|
<topic href="rbafymultrow.htm" label="Insert rows into a table using a select-statement"/>
|
||
|
<topic href="rbafyblkins.htm" label="Insert multiple rows in a table with the blocked INSERT statement"/>
|
||
|
<topic href="rbafyrfinserting.htm" label="Insert data into tables with referential constraints"/>
|
||
|
<topic href="rbafyinsertidentity.htm" label="Insert values into an identity column"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyupdate.htm" label="Change data in a table using the UPDATE statement">
|
||
|
<topic href="rbafyupdatesub.htm" label="Update a table using a scalar-subselect"/>
|
||
|
<topic href="rbafyupdatediftbl.htm" label="Update a table with rows from another table"/>
|
||
|
<topic href="rbafyrfupdating.htm" label="Update tables with referential constraints">
|
||
|
<topic href="rbafyupdaterules.htm" label="Examples: UPDATE rules"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyupdateidentity.htm" label="Update an identity column"/>
|
||
|
<topic href="rbafyupdatingasretrieved.htm" label="Update data as it is retrieved from a table"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydelete.htm" label="Remove rows from a table using the DELETE statement">
|
||
|
<topic href="rbafyrfdeleting.htm" label="Delete from tables with referential constraints">
|
||
|
<topic href="rbafydeleterules.htm" label="Example: DELETE cascade rule"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafysubquery.htm" label="Use subqueries">
|
||
|
<topic href="rbafysubq.htm" label="Subqueries in SELECT statements">
|
||
|
<topic href="rbafysubnsearch.htm" label="Subqueries and search conditions"/>
|
||
|
<topic href="rbafysubquerynotes.htm" label="Usage notes on subqueries"/>
|
||
|
<topic href="rbafyhowsub.htm" label="Include subqueries in WHERE or HAVING clauses"/>
|
||
|
</topic>
|
||
|
<topic href="rbafycorrs.htm" label="Correlated subqueries">
|
||
|
<topic href="rbafycorrenames.htm" label="Correlated names and references"/>
|
||
|
<topic href="rbafyexsub1.htm" label="Example: Correlated subquery in a WHERE clause"/>
|
||
|
<topic href="rbafyexsub2.htm" label="Example: Correlated subquery in a HAVING clause"/>
|
||
|
<topic href="rbafyexsub3.htm" label="Example: Correlated subquery in select-list"/>
|
||
|
<topic href="rbafyexsub4.htm" label="Example: Correlated subqueries in an UPDATE statement"/>
|
||
|
<topic href="rbafyexsub5.htm" label="Example: Correlated subqueries in a DELETE statement"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafyussisql.htm" label="Sort sequences and normalization in SQL">
|
||
|
<topic href="rbafyssorder.htm" label="Sort sequence used with ORDER BY and row selection">
|
||
|
<topic href="rbafyorderby2.htm" label="Sort sequence and ORDER BY"/>
|
||
|
<topic href="rbafyrecordselect.htm" label="Row selection"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyssviews.htm" label="Sort sequence and views"/>
|
||
|
<topic href="rbafyssindex.htm" label="Sort sequence and the CREATE INDEX statement"/>
|
||
|
<topic href="rbafyssconstraints.htm" label="Sort sequence and constraints"/>
|
||
|
<topic href="rbafyicu.htm" label="ICU sort sequence"/>
|
||
|
<topic href="rbafynormal.htm" label="Normalization"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyprotect.htm" label="Data protection">
|
||
|
<topic href="rbafysecurity.htm" label="Security for SQL objects">
|
||
|
<topic href="rbafyauthid.htm" label="Authorization ID"/>
|
||
|
<topic href="rbafyviewex2.htm" label="Views"/>
|
||
|
<topic href="rbafyaudit.htm" label="Auditing"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydataintex.htm" label="Data integrity">
|
||
|
<topic href="rbafycncr.htm" label="Concurrency"/>
|
||
|
<topic href="rbafyjourg.htm" label="Journaling"/>
|
||
|
<topic href="rbafydicomm.htm" label="Commitment control"/>
|
||
|
<topic href="rbafysavepoint.htm" label="Savepoints"/>
|
||
|
<topic href="rbafyatomic.htm" label="Atomic operations"/>
|
||
|
<topic href="rbafymovnow.htm" label="Constraints">
|
||
|
<topic href="rbafycheckcon.htm" label="Add and use check constraints"/>
|
||
|
</topic>
|
||
|
<topic href="rbafysaverestore.htm" label="Save/restore"/>
|
||
|
<topic href="rbafydamagetolerance.htm" label="Damage tolerance"/>
|
||
|
<topic href="rbafyindexrecovery.htm" label="Index recovery"/>
|
||
|
<topic href="rbafycatalogintegrity.htm" label="Catalog integrity"/>
|
||
|
<topic href="rbafyuserasp.htm" label="User auxiliary storage pool (ASP)"/>
|
||
|
<topic href="rbafyiasp.htm" label="Independent auxiliary storage pool (IASP)"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafyroutines.htm" label="Routines">
|
||
|
<topic href="rbafysproeg.htm" label="Stored procedures">
|
||
|
<topic href="rbafydfnid.htm" label="Define an external procedure"/>
|
||
|
<topic href="rbafysqlproc.htm" label="Define an SQL procedure"/>
|
||
|
<topic href="rbafyinvokeproc.htm" label="Invoke a stored procedure">
|
||
|
<topic href="rbafyusingcall.htm" label="Use CALL statement where procedure definition exists"/>
|
||
|
<topic href="rbafystatwo.htm" label="Use embedded CALL statement where no procedure definition exists"/>
|
||
|
<topic href="rbafycalldrda.htm" label="Use embedded CALL statement with an SQLDA"/>
|
||
|
<topic href="rbafydynamiccall.htm" label="Use dynamic CALL statement where no CREATE PROCEDURE exists"/>
|
||
|
<topic href="rbafyexamplecall.htm" label="Examples of CALL statements">
|
||
|
<topic href="rbafyce.htm" label="Example 1: ILE C and PL/I procedures called from ILE C applications"/>
|
||
|
<topic href="rbafyrexxe.htm" label="Example 2. REXX procedure called from a C application"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafyresultsets.htm" label="Return result sets from stored procedures">
|
||
|
<topic href="rbafyresultsete1.htm" label="Example 1: Call a stored procedure which returns a single result set"/>
|
||
|
<topic href="rbafyresultsete2.htm" label="Example 2: Call a stored procedure which returns a result set from a nested procedure"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyppcsp.htm" label="Parameter passing conventions for stored procedures and UDFs"/>
|
||
|
<topic href="rbafyindicator.htm" label="Indicator variables and stored procedures"/>
|
||
|
<topic href="rbafyreturningstatus.htm" label="Return a completion status to the calling program"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyudf.htm" label="Use user-defined functions (UDFs)">
|
||
|
<topic href="rbafyudfduvc.htm" label="UDF concepts"/>
|
||
|
<topic href="rbafyudfsql.htm" label="Write UDFs as SQL functions">
|
||
|
<topic href="rbafyscalarudf.htm" label="Example: SQL scalar UDFs"/>
|
||
|
<topic href="rbafyudftableex.htm" label="Example: SQL table UDFs"/>
|
||
|
</topic>
|
||
|
<topic href="rbafywudfextern.htm" label="Write UDFs as external functions">
|
||
|
<topic href="rbafyudfdudf.htm" label="Register UDFs">
|
||
|
<topic href="rbafyudfcfx1.htm" label="Example: Exponentiation"/>
|
||
|
<topic href="rbafyudfcfx2.htm" label="Example: String search"/>
|
||
|
<topic href="rbafyudfcfxa.htm" label="Example: BLOB string search"/>
|
||
|
<topic href="rbafyudfcfx3.htm" label="Example: String search over UDT"/>
|
||
|
<topic href="rbafyudfcfx5.htm" label="Example: AVG over a UDT"/>
|
||
|
<topic href="rbafyudfcfx6.htm" label="Example: Counting"/>
|
||
|
<topic href="rbafyudfcfx7.htm" label="Example: Table function returning document IDs"/>
|
||
|
</topic>
|
||
|
<topic href="rbafypassarguments.htm" label="Pass arguments from DB2 to external functions">
|
||
|
<topic href="rbafyparamsql.htm" label="Parameter style SQL"/>
|
||
|
<topic href="rbafyparamdb2sql.htm" label="Parameter style DB2SQL"/>
|
||
|
<topic href="rbafyparamgen.htm" label="Parameter style GENERAL (or SIMPLE CALL)"/>
|
||
|
<topic href="rbafyparamgennull.htm" label="Parameter style GENERAL WITH NULLS"/>
|
||
|
<topic href="rbafyparamdb2gen.htm" label="Parameter style DB2GENERAL"/>
|
||
|
<topic href="rbafyparamjava.htm" label="Parameter style Java"/>
|
||
|
</topic>
|
||
|
<topic href="rbafytfconsider.htm" label="Table function considerations"/>
|
||
|
<topic href="rbafyudferror.htm" label="Error processing for UDFs"/>
|
||
|
<topic href="rbafyudfthreads.htm" label="Threads considerations"/>
|
||
|
<topic href="rbafyudfparallel.htm" label="Parallel processing"/>
|
||
|
<topic href="rbafysqlpfenced.htm" label="Fenced or unfenced considerations"/>
|
||
|
<topic href="rbafysaveconsider.htm" label="Save and restore considerations"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyuwexam.htm" label="Examples: UDF code">
|
||
|
<topic href="rbafyudfexsqrnum.htm" label="Example: Square of a number UDF"/>
|
||
|
<topic href="rbafyexamudfcounter.htm" label="Example: Counter"/>
|
||
|
<topic href="rbafyudfweather.htm" label="Example: Weather table function"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyudfuudf.htm" label="Use UDFs in SQL statements">
|
||
|
<topic href="rbafyuseparameter.htm" label="Use parameter markers or the NULL value as function arguments"/>
|
||
|
<topic href="rbafyusquref.htm" label="Use qualified function reference"/>
|
||
|
<topic href="rbafyuseunqualified.htm" label="Use unqualified function reference"/>
|
||
|
<topic href="rbafysummary.htm" label="Summary of function references"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafydb2triggers.htm" label="Triggers">
|
||
|
<topic href="rbafysqltrig.htm" label="SQL triggers">
|
||
|
<topic href="rbafybeforesql.htm" label="BEFORE SQL triggers"/>
|
||
|
<topic href="rbafyaftersql.htm" label="AFTER SQL triggers"/>
|
||
|
<topic href="rbafyinsteadofsql.htm" label="INSTEAD OF SQL triggers"/>
|
||
|
<topic href="rbafyhandlersql.htm" label="Handlers in SQL triggers"/>
|
||
|
<topic href="rbafytransitiontable.htm" label="SQL trigger transition tables"/>
|
||
|
</topic>
|
||
|
<topic href="rbafysystrig.htm" label="External triggers">
|
||
|
<topic href="rbafysystrigexample.htm" label="External trigger example program"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafydebugproc.htm" label="Debug an SQL routine"/>
|
||
|
<topic href="rbafyudfperf.htm" label="Improve performance of procedures and functions">
|
||
|
<topic href="rbafyimplement.htm" label="Improve implementation of procedures and functions"/>
|
||
|
<topic href="rbafyredesign.htm" label="Redesign routines for performance"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafyusoocap.htm" label="Process special data types">
|
||
|
<topic href="rbafylobs.htm" label="Use large objects (LOBs)">
|
||
|
<topic href="rbafyobjlob.htm" label="Understand large object data types (BLOB, CLOB, DBCLOB)"/>
|
||
|
<topic href="rbafyloblocators.htm" label="Understand large object locators"/>
|
||
|
<topic href="rbafyexampclob.htm" label="Example: Use a locator to work with a CLOB value">
|
||
|
<topic href="rbafyllocc.htm" label="Example: LOBLOC.SQC in C"/>
|
||
|
<topic href="rbafyllocb.htm" label="Example: LOBLOC.SQB in COBOL"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydeflobe.htm" label="Indicator variables and LOB locators"/>
|
||
|
<topic href="rbafylobrefvar.htm" label="LOB file reference variables"/>
|
||
|
<topic href="rbafyexampextract.htm" label="Example: Extract a document to a file">
|
||
|
<topic href="rbafylfilc.htm" label="Example: LOBFILE.SQC in C"/>
|
||
|
<topic href="rbafylfilb.htm" label="Example: LOBFILE.SQB in COBOL"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyexampinsertclob.htm" label="Example: Insert data into a CLOB column"/>
|
||
|
<topic href="rbafydisplaylobcol.htm" label="Display layout of LOB columns"/>
|
||
|
<topic href="rbafylobjournal.htm" label="Journal entry layout of LOB columns"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyuddt.htm" label="Use user-defined distinct types (UDT)">
|
||
|
<topic href="rbafydefudt.htm" label="Define a UDT">
|
||
|
<topic href="rbafymoney.htm" label="Example: Money"/>
|
||
|
<topic href="rbafyresume.htm" label="Example: Resume"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydetab.htm" label="Define tables with UDTs">
|
||
|
<topic href="rbafysales.htm" label="Example: Sales"/>
|
||
|
<topic href="rbafyappform.htm" label="Example: Application forms"/>
|
||
|
</topic>
|
||
|
<topic href="rbafymanudt.htm" label="Manipulate UDTs"/>
|
||
|
<topic href="rbafyexampudt.htm" label="Examples: Use UDTs">
|
||
|
<topic href="rbafyudtcnst.htm" label="Example: Comparisons between UDTs and constants"/>
|
||
|
<topic href="rbafycastudt.htm" label="Example: Cast between UDTs"/>
|
||
|
<topic href="rbafyudtcomp.htm" label="Example: Comparisons involving UDTs"/>
|
||
|
<topic href="rbafyudsrc.htm" label="Example: Sourced UDFs involving UDTs"/>
|
||
|
<topic href="rbafyasudt.htm" label="Example: Assignments involving UDTs"/>
|
||
|
<topic href="rbafyasdyns.htm" label="Example: Assignments in dynamic SQL"/>
|
||
|
<topic href="rbafyasdudt.htm" label="Example: Assignments involving different UDTs"/>
|
||
|
<topic href="rbafyudtuni.htm" label="Example: Use of UDTs in UNION"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafyexampcomplex.htm" label="Examples of using UDTs, UDFs, and LOBs">
|
||
|
<topic href="rbafydudtudf.htm" label="Example: Define the UDT and UDFs"/>
|
||
|
<topic href="rbafyexplob.htm" label="Example: Use LOB function to populate the database"/>
|
||
|
<topic href="rbafyexpudf.htm" label="Example: Use UDFs to query instances of UDTs"/>
|
||
|
<topic href="rbafyexplobl.htm" label="Example: Use LOB locators to manipulate UDT instances"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydatalinks.htm" label="Use DataLinks">
|
||
|
<topic href="rbafydlnolink.htm" label="Link control levels in DataLinks">
|
||
|
<topic href="rbafynolinkcontrol.htm" label="NO LINK CONTROL"/>
|
||
|
<topic href="rbafyfilelnkcontrolfs.htm" label="FILE LINK CONTROL with FS permissions"/>
|
||
|
<topic href="rbafyfilelnkcontroldb.htm" label="FILE LINK CONTROL with DB permissions"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydlcommands.htm" label="Commands used for working with DataLinks"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafydynamic.htm" label="Use SQL in different environments">
|
||
|
<topic href="rbafycurs.htm" label="Use a cursor">
|
||
|
<topic href="rbafycursortype.htm" label="Types of cursors"/>
|
||
|
<topic href="rbafycursorexamp.htm" label="Examples: Use a cursor">
|
||
|
<topic href="rbafycurs1.htm" label="Step 1: Define the cursor"/>
|
||
|
<topic href="rbafycurs2.htm" label="Step 2: Open the cursor"/>
|
||
|
<topic href="rbafycurs3.htm" label="Step 3: Specify what to do when end-of-data is reached"/>
|
||
|
<topic href="rbafycurs4.htm" label="Step 4: Retrieve a row using a cursor"/>
|
||
|
<topic href="rbafycurs5a.htm" label="Step 5a: Update the current row"/>
|
||
|
<topic href="rbafycurs5b.htm" label="Step 5b: Delete the current row"/>
|
||
|
<topic href="rbafycurs6.htm" label="Step 6: Close the cursor"/>
|
||
|
</topic>
|
||
|
<topic href="rbafymrfetch.htm" label="Use the multiple-row FETCH statement">
|
||
|
<topic href="rbafymultifetch1.htm" label="Multiple-row FETCH using a host structure array"/>
|
||
|
<topic href="rbafymultifetch2.htm" label="Multiple-row FETCH using a row storage area"/>
|
||
|
</topic>
|
||
|
<topic href="rbafycmprec.htm" label="Unit of work and open cursors"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydynmic.htm" label="Dynamic SQL applications">
|
||
|
<topic href="rbafydesignapp.htm" label="Design and run a dynamic SQL application"/>
|
||
|
<topic href="rbafyccsiddyn.htm" label="CCSID of dynamic SQL statements"/>
|
||
|
<topic href="rbafynonsil.htm" label="Process non-SELECT statements">
|
||
|
<topic href="rbafyplepexc.htm" label="Use the PREPARE and EXECUTE statements"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyprocesssqlda.htm" label="Process SELECT statements and use a descriptor">
|
||
|
<topic href="rbafyfixed.htm" label="Fixed-list SELECT statements"/>
|
||
|
<topic href="rbafyvarlst.htm" label="Varying-list SELECT statements"/>
|
||
|
<topic href="rbafysqlda.htm" label="SQL descriptor areas"/>
|
||
|
<topic href="rbafysqldaformat.htm" label="SQLDA format"/>
|
||
|
<topic href="rbafydynexample.htm" label="Example: Select-statement for allocating storage for SQLDA"/>
|
||
|
<topic href="rbafyallocexample.htm" label="Example: Select statement using an allocated SQL descriptor"/>
|
||
|
<topic href="rbafypmaker.htm" label="Parameter markers"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafydynamicsqlclient.htm" label="Use of dynamic SQL through client interfaces">
|
||
|
<topic href="rbafyjavaaccess.htm" label="Access data with Java"/>
|
||
|
<topic href="rbafydominoaccess.htm" label="Access data with Domino"/>
|
||
|
<topic href="rbafyodbcaccess.htm" label="Access data with Open Database Connectivity (ODBC)"/>
|
||
|
<topic href="rbafypaseaccess.htm" label="Access data with i5/OS Portable Application Solutions Environment ( i5/OS PASE)"/>
|
||
|
<topic href="rbafyoledb.htm" label="Access data with iSeries Access for Windows OLE DB Provider"/>
|
||
|
<topic href="rbafynetdata.htm" label="Access data with Net.Data"/>
|
||
|
<topic href="rbafylinux.htm" label="Access data through a Linux partition"/>
|
||
|
<topic href="rbafydatadrda.htm" label="Access data using Distributed Relational Database (DRDA)"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyintract.htm" label="Use interactive SQL">
|
||
|
<topic href="rbafystrsql.htm" label="Start interactive SQL"/>
|
||
|
<topic href="rbafystmtentry.htm" label="Use statement entry function"/>
|
||
|
<topic href="rbafyprompting.htm" label="Prompting">
|
||
|
<topic href="rbafyprompt1.htm" label="Syntax checking"/>
|
||
|
<topic href="rbafyprompt2.htm" label="Statement processing mode"/>
|
||
|
<topic href="rbafyprompt3.htm" label="Subqueries"/>
|
||
|
<topic href="rbafyprompt4.htm" label="CREATE TABLE prompting"/>
|
||
|
<topic href="rbafyprompt5.htm" label="Enter DBCS data"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyuselistselect.htm" label="Use the list selection function">
|
||
|
<topic href="rbafylistselect1.htm" label="Example: Use the list selection function"/>
|
||
|
</topic>
|
||
|
<topic href="rbafysessionservices.htm" label="Session services description"/>
|
||
|
<topic href="rbafyxintsql.htm" label="Exit interactive SQL"/>
|
||
|
<topic href="rbafyuseexistisql.htm" label="Use an existing SQL session"/>
|
||
|
<topic href="rbafyrecover.htm" label="Recover an SQL session"/>
|
||
|
<topic href="rbafyaccrdi.htm" label="Access remote databases with interactive SQL"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyrunstat.htm" label="Use the SQL statement processor">
|
||
|
<topic href="rbafyexecutestmt.htm" label="Execution of statements after errors occur"/>
|
||
|
<topic href="rbafyccsqlstmt.htm" label="Commitment control in the SQL statement processor"/>
|
||
|
<topic href="rbafysrcmember.htm" label="Source member listing for the SQL statement processor"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafydrda.htm" label="Distributed relational database function and SQL">
|
||
|
<topic href="rbafydrdbsupport.htm" label="DB2 UDB for iSeries distributed relational database support"/>
|
||
|
<topic href="rbafydrdbexample.htm" label="DB2 UDB for iSeries distributed relational database example program"/>
|
||
|
<topic href="rbafypacksupport.htm" label="SQL package support">
|
||
|
<topic href="rbafysqlpack1.htm" label="Valid SQL statements in an SQL package"/>
|
||
|
<topic href="rbafysqlpack2.htm" label="Considerations for creating an SQL package">
|
||
|
<topic href="rbafypackconsider1.htm" label="CRTSQLPKG authorization"/>
|
||
|
<topic href="rbafypackconsider2.htm" label="Create a package on a non-DB2 UDB for iSeries"/>
|
||
|
<topic href="rbafypackconsider3.htm" label="Target release (TGTRLS) parameter"/>
|
||
|
<topic href="rbafypackconsider4.htm" label="SQL statement size"/>
|
||
|
<topic href="rbafypackconsider5.htm" label="Statements that do not require a package"/>
|
||
|
<topic href="rbafypackconsider6.htm" label="Package object type"/>
|
||
|
<topic href="rbafypackconsider7.htm" label="ILE programs and service programs"/>
|
||
|
<topic href="rbafypackconsider8.htm" label="Package creation connection"/>
|
||
|
<topic href="rbafypackconsider9.htm" label="Unit of work"/>
|
||
|
<topic href="rbafypackconsider10.htm" label="Create packages locally"/>
|
||
|
<topic href="rbafypackconsider11.htm" label="Labels"/>
|
||
|
<topic href="rbafypackconsider12.htm" label="Consistency token"/>
|
||
|
<topic href="rbafypackconsider13.htm" label="SQL and recursion"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafyccsidpackage.htm" label="CCSID considerations for SQL"/>
|
||
|
<topic href="rbafyconnectmgmt.htm" label="Connection management and activation groups">
|
||
|
<topic href="rbafydrdasourcecode.htm" label="Source code for PGM1"/>
|
||
|
<topic href="rbafydrdapgm2.htm" label="Source code for PGM2"/>
|
||
|
<topic href="rbafydrdapgm3.htm" label="Source code for PGM3"/>
|
||
|
<topic href="rbafydrdamulti.htm" label="Multiple connections to the same relational database"/>
|
||
|
<topic href="rbafyc1.htm" label="Implicit connection management for the default activation group"/>
|
||
|
<topic href="rbafyc2.htm" label="Implicit connection management for nondefault activation groups"/>
|
||
|
</topic>
|
||
|
<topic href="rbafydistribsupport.htm" label="Distributed support">
|
||
|
<topic href="rbafydetconn.htm" label="Determine connection type"/>
|
||
|
<topic href="rbafydrdaconnect.htm" label="Connect and commitment control restrictions"/>
|
||
|
<topic href="rbafydrdaconnect2.htm" label="Determine connection status"/>
|
||
|
<topic href="rbafydrdaconnect3.htm" label="Distributed unit of work connection considerations"/>
|
||
|
<topic href="rbafydrdaconnect4.htm" label="End connections"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyduwex.htm" label="Distributed unit of work">
|
||
|
<topic href="rbafydrdamanageduk.htm" label="Manage distributed unit of work connections"/>
|
||
|
<topic href="rbafydrdacheck1.htm" label="Check connection status"/>
|
||
|
<topic href="rbafydrdacursor.htm" label="Cursors and prepared statements"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyardpgmex.htm" label="Application requester driver programs"/>
|
||
|
<topic href="rbafyprobhandle.htm" label="Problem handling"/>
|
||
|
<topic href="rbafydrdastoredproc.htm" label="DRDA stored procedure considerations"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyreference.htm" label="Reference information">
|
||
|
<topic href="rbafysamptblx.htm" label="DB2 UDB for iSeries sample tables">
|
||
|
<topic href="rbafystdept.htm" label="Department table (DEPARTMENT)">
|
||
|
<topic href="rbafyxmpdept.htm" label="DEPARTMENT"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyemployee.htm" label="Employee table (EMPLOYEE)">
|
||
|
<topic href="rbafyxmpemp.htm" label="EMPLOYEE"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyemployeephoto.htm" label="Employee photo table (EMP_PHOTO)">
|
||
|
<topic href="rbafyxmpphoto.htm" label="EMP_PHOTO"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyempresume.htm" label="Employee resume table (EMP_RESUME)">
|
||
|
<topic href="rbafyxmpresume.htm" label="EMP_RESUME"/>
|
||
|
</topic>
|
||
|
<topic href="rbafystprac.htm" label="Employee to project activity table (EMPPROJACT)">
|
||
|
<topic href="rbafyxmpeact.htm" label="EMPPROJACT"/>
|
||
|
</topic>
|
||
|
<topic href="rbafystproj.htm" label="Project table (PROJECT)">
|
||
|
<topic href="rbafyxmpprj.htm" label="PROJECT"/>
|
||
|
</topic>
|
||
|
<topic href="rbafystprojact.htm" label="Project activity table (PROJACT)">
|
||
|
<topic href="rbafyxmpprjact.htm" label="PROJACT"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyactivity.htm" label="Activity table (ACT)">
|
||
|
<topic href="rbafyexpact.htm" label="ACT"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyclasssched.htm" label="Class schedule table (CL_SCHED)">
|
||
|
<topic href="rbafyxmpclsched.htm" label="CL_SCHED"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyintray.htm" label="In tray table (IN_TRAY)">
|
||
|
<topic href="rbafyxmpintray.htm" label="IN_TRAY"/>
|
||
|
</topic>
|
||
|
<topic href="rbafyorgtable.htm" label="Organization table (ORG)">
|
||
|
<topic href="rbafyxmporg.htm" label="ORG"/>
|
||
|
</topic>
|
||
|
<topic href="rbafystafftbl.htm" label="Staff table (STAFF)">
|
||
|
<topic href="rbafyxmpstaff.htm" label="STAFF"/>
|
||
|
</topic>
|
||
|
<topic href="rbafysalestbl.htm" label="Sales table (SALES)">
|
||
|
<topic href="rbafyxmpsales.htm" label="SALES"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafysyntax.htm" label="DB2 UDB for iSeries CL command descriptions"/>
|
||
|
</topic>
|
||
|
</topic>
|
||
|
</toc>
|