398 lines
15 KiB
XML
398 lines
15 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<?NLS TYPE="org.eclipse.help.toc"?>
|
||
|
<toc label="SQL Reference" link_to="../rzahg/icnavx_toc.xml#db2/rbafz_toc.xml">
|
||
|
<topic href="rbafzmst02.htm" label="SQL Reference">
|
||
|
<topic href="rbafzmstabout.htm" label="About DB2 UDB for iSeries SQL Reference">
|
||
|
<topic href="rbafzmststandardcomp.htm" label="Standard compliance">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqlrwho.htm" label="Who should read the SQL Reference">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthowtous.htm" label="How to use this book">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstprintthis.htm" label="Print this topic">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstwhatsnew.htm" label="What's new for V5R4">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstconcept.htm" label="Concepts">
|
||
|
<topic href="rbafzmstrelationaldb.htm" label="Relational database">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqlcon.htm" label="Structured Query Language">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcollex.htm" label="Schemas">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch1table.htm" label="Tables">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstviewdef.htm" label="Views">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstudtdef.htm" label="User-defined types">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstali.htm" label="Aliases">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstpackageap.htm" label="Packages and access plans">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch1routines.htm" label="Routines">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsequences.htm" label="Sequences">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstauthown.htm" label="Authorization, privileges and object ownership">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcatalogdef.htm" label="Catalog">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstappproc.htm" label="Application processes, concurrency, and recovery">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstthreads.htm" label="Threads">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstisol.htm" label="Isolation level">
|
||
|
</topic>
|
||
|
<topic href="rbafzmststoragestruc.htm" label="Storage structures">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstccseta.htm" label="Character conversion">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsortsequence.htm" label="Sort sequence">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2drda.htm" label="Distributed relational database">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqlelem.htm" label="Language elements">
|
||
|
<topic href="rbafzmstch2char.htm" label="Characters">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2tok.htm" label="Tokens">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2iden.htm" label="Identifiers">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2nam.htm" label="Naming conventions">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2alias.htm" label="Aliases">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2auth.htm" label="Authorization IDs and authorization names">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2data.htm" label="Data types">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstpromo.htm" label="Promotion of data types">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcastdt.htm" label="Casting between data types">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2bas.htm" label="Assignments and comparisons">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstopcomb.htm" label="Rules for result data types">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstuuall.htm" label="Conversion rules for operators">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2cons.htm" label="Constants">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstspecreg.htm" label="Special registers">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2col.htm" label="Column names">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2refvar.htm" label="References to variables">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2function.htm" label="Functions">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2expr.htm" label="Expressions">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdatetimearith.htm" label="Datetime arithmatic">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2pred.htm" label="Predicates">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2srch.htm" label="Search conditions">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstch2func.htm" label="Built-in functions">
|
||
|
<topic href="rbafzmstcolfunc.htm" label="Aggregate functions">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstscale.htm" label="Scalar functions">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsubsel.htm" label="Queries">
|
||
|
<topic href="rbafzmstqueryauth1.htm" label="Authorization">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsubselect.htm" label="subselect">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstmark.htm" label="fullselect">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstintsel.htm" label="select-statement">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmststates.htm" label="Statements">
|
||
|
<topic href="rbafzmsthowsql.htm" label="How SQL statements are invoked">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcksql.htm" label="SQL return codes">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqcomm.htm" label="SQL comments">
|
||
|
</topic>
|
||
|
<topic href="rbafzallocatedescr.htm" label="ALLOCATE DESCRIPTOR">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstaproceduree.htm" label="ALTER PROCEDURE (External)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstaprocedures.htm" label="ALTER PROCEDURE (SQL)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstasequence.htm" label="ALTER SEQUENCE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstatabl.htm" label="ALTER TABLE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstbegdcl.htm" label="BEGIN DECLARE SECTION">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcallsta.htm" label="CALL">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstclosst.htm" label="CLOSE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcomnt.htm" label="COMMENT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstc4comit.htm" label="COMMIT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstconj1.htm" label="CONNECT (Type 1)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcon2t.htm" label="CONNECT (Type 2)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthcalias.htm" label="CREATE ALIAS">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcrtudt.htm" label="CREATE DISTINCT TYPE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcreatef.htm" label="CREATE FUNCTION">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcfsce.htm" label="CREATE FUNCTION (External Scalar)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcftbe.htm" label="CREATE FUNCTION (External Table)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcfso.htm" label="CREATE FUNCTION (Sourced)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcfsc.htm" label="CREATE FUNCTION (SQL Scalar)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcftb.htm" label="CREATE FUNCTION (SQL Table)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstxcindx.htm" label="CREATE INDEX">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcreatep.htm" label="CREATE PROCEDURE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcrtpef.htm" label="CREATE PROCEDURE (External)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcrtpsf.htm" label="CREATE PROCEDURE (SQL)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstxcschema.htm" label="CREATE SCHEMA">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcsequence.htm" label="CREATE SEQUENCE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthctabl.htm" label="CREATE TABLE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthctrigger.htm" label="CREATE TRIGGER">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthcview.htm" label="CREATE VIEW">
|
||
|
</topic>
|
||
|
<topic href="rbafzdeallocatedescr.htm" label="DEALLOCATE DESCRIPTOR">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsth2clcu.htm" label="DECLARE CURSOR">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdgtt.htm" label="DECLARE GLOBAL TEMPORARY TABLE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdclpef.htm" label="DECLARE PROCEDURE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdclst.htm" label="DECLARE STATEMENT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdeclvar.htm" label="DECLARE VARIABLE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdelst.htm" label="DELETE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdescr.htm" label="DESCRIBE">
|
||
|
</topic>
|
||
|
<topic href="rbafzdescrinput.htm" label="DESCRIBE INPUT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdescrtb.htm" label="DESCRIBE TABLE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdiscon.htm" label="DISCONNECT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdropst.htm" label="DROP">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsteds.htm" label="END DECLARE SECTION">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthexeqt.htm" label="EXECUTE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstexim.htm" label="EXECUTE IMMEDIATE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstfets.htm" label="FETCH">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstfreeloc.htm" label="FREE LOCATOR">
|
||
|
</topic>
|
||
|
<topic href="rbafzgetdescr.htm" label="GET DESCRIPTOR">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstgetdiag.htm" label="GET DIAGNOSTICS">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstgntudtp.htm" label="GRANT (Distinct Type privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstgntprc.htm" label="GRANT (Function or Procedure privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstgntpp.htm" label="GRANT (Package privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstgntseqp.htm" label="GRANT (Sequence privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstgnt.htm" label="GRANT (Table or View privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstholdloc.htm" label="HOLD LOCATOR">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstclucu.htm" label="INCLUDE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstbackup.htm" label="INSERT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstlabelon.htm" label="LABEL">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsth2lockt.htm" label="LOCK TABLE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthopen.htm" label="OPEN">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstpreph2.htm" label="PREPARE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthrefresh.htm" label="REFRESH TABLE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrele.htm" label="RELEASE (Connection)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrlssvpt.htm" label="RELEASE SAVEPOINT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrena.htm" label="RENAME">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrudtp.htm" label="REVOKE (Distinct type privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrppro.htm" label="REVOKE (Function or Procedure privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrppriv.htm" label="REVOKE (Package privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrspriv.htm" label="REVOKE (Sequences privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrevoket.htm" label="REVOKE (Table or View privileges)">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrollbac.htm" label="ROLLBACK">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsvpt.htm" label="SAVEPOINT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthselectstmt.htm" label="SELECT">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthselin.htm" label="SELECT INTO">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstetconj.htm" label="SET CONNECTION">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsetdebug.htm" label="SET CURRENT DEBUG MODE">
|
||
|
</topic>
|
||
|
<topic href="rbafzsetdegree.htm" label="SET CURRENT DEGREE">
|
||
|
</topic>
|
||
|
<topic href="rbafzsetdescr.htm" label="SET DESCRIPTOR">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsetep.htm" label="SET ENCRYPTION PASSWORD">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsoption.htm" label="SET OPTION">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsetpath.htm" label="SET PATH">
|
||
|
</topic>
|
||
|
<topic href="rbafzmsthsetrs.htm" label="SET RESULT SETS">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsetschema.htm" label="SET SCHEMA">
|
||
|
</topic>
|
||
|
<topic href="rbafzsetsessionauth.htm" label="SET SESSION AUTHORIZATION">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsettraj.htm" label="SET TRANSACTION">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsettranv.htm" label="SET transition-variable">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsetinto.htm" label="SET variable">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsignal.htm" label="SIGNAL">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstupdt.htm" label="UPDATE">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstvaluestmt.htm" label="VALUES">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstvalinto.htm" label="VALUES INTO">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstwvrr.htm" label="WHENEVER">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqlcontstmts.htm" label="SQL control statements">
|
||
|
<topic href="rbafzmstrefsqlv.htm" label="References to SQL parameters and SQL variables">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqlprocstmt.htm" label="SQL- procedure-statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstassignstmt.htm" label="assignment- statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcallstmt.htm" label="CALL statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcasestmt.htm" label="CASE statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcompoundstmt.htm" label="compount-statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstforstmt.htm" label="FOR statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstgetdiag2.htm" label="GET DIAGNOSTICS statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstgotostmt.htm" label="GOTO statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstifstmt.htm" label="IF statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstiteratestmt.htm" label="ITERATE statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstleavestmt.htm" label="LEAVE statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstloopstmt.htm" label="LOOP statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstrepeatstmt.htm" label="REPEAT statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstresignalstmt.htm" label="RESIGNAL statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstreturnstmt.htm" label="RETURN statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsignalstmt.htm" label="SIGNAL statement">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstwhilestmt.htm" label="WHILE statement">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstlimtabs.htm" label="SQL limits">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdiftab.htm" label="Characteristics of SQL statements">
|
||
|
<topic href="rbafzmstactallow.htm" label="Actions allowed on SQL statements">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstaccind.htm" label="SQL statement data access indication in routines">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstdiftab2.htm" label="Considerations for using distributed relational database">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqlcca.htm" label="SQLCA (SQL communication area)">
|
||
|
<topic href="rbafzmstfielddescsqlca.htm" label="Field descriptions">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstincludesqlca.htm" label="INCLUDE SQLCA declarations">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqldda.htm" label="SQLDA (SQL descriptor area)">
|
||
|
<topic href="rbafzmstfielddescsqlda.htm" label="Field descriptions in an SQLDA header">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqlvaroc.htm" label="Field description in an occurrence of SQLVAR">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqltc.htm" label="SQLTYPE and SQLLEN">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsname.htm" label="CCSID values in SQLDATA or SQLNAME">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsqldaunrec.htm" label="Unrecognized and unsupported SQLTYPES">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstincludesqlda.htm" label="INCLUDE SQLDA declarations">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstsidvals.htm" label="CCSID values">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcatalog.htm" label="DB2 UDB for iSeries catalog views">
|
||
|
<topic href="rbafzmstcatalognotes.htm" label="Notes about catalog views">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcatalogtbls.htm" label="iSeries catalog tables and views">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcatalogodbc.htm" label="ODBC and JDBC catalog views">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstcatalogans.htm" label="ANS and ISO catalog views">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstterminology.htm" label="Terminology differences">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstresword.htm" label="Reserved schema names and reserved words">
|
||
|
<topic href="rbafzmstresschem.htm" label="Reserved schema names">
|
||
|
</topic>
|
||
|
<topic href="rbafzmstwordsre.htm" label="Reserved words">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
<topic href="rbafzmstbiblio.htm" label="Related information">
|
||
|
</topic>
|
||
|
</topic>
|
||
|
</toc>
|