Attention! Your ePaper is waiting for publication!
By publishing your document, the content will be optimally indexed by Google via AI and sorted into the right category for over 500 million ePaper readers on YUMPU.
This will ensure high visibility and many readers!
Your ePaper is now published and live on YUMPU!
You can find your publication here:
Share your interactive ePaper on all platforms and on your website with our embed function
SQL Reference Volume 1 - Ibm
SQL Reference Volume 1 - Ibm
SQL Reference Volume 1 - Ibm
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
CURRENT CLIENT_ACCTNGCURRENT CLIENT_ACCTNGThe CURRENT CLIENT_ACCTNG (or CLIENT ACCTNG) special register containsthe value of the accounting string from the client information specified for thisconnection. The data type of the register is VARCHAR(255). The default value ofthis register is an empty string.The value of the accounting string can be changed by using the Set ClientInformation (sqleseti) API.Note that the value provided via the sqleseti API is in the application code page,and the special register value is stored in the database code page. Depending onthe data values used when setting the client information, truncation of the datavalue stored in the special register may occur during code page conversion.Example: Get the current value of the accounting string for this connection.VALUES (CURRENT CLIENT_ACCTNG)INTO :ACCT_STRINGChapter 2. Language elements 129
Special registersNotes:1 The <strong>SQL</strong> 1999 Core standard uses the form with the underscore.Some special registers can be updated using the SET statement. The following tableshows which of the special registers can be updated.Table 11. Special RegistersSpecial Register UpdatableCURRENT CLIENT_ACCTNG NoCURRENT CLIENT_APPLNAME NoCURRENT CLIENT_USERID NoCURRENT CLIENT_WRKSTNNAME NoCURRENT DATE NoCURRENT DBPARTITIONNUM NoCURRENT DEFAULT TRANSFORM GROUP YesCURRENT DEGREE YesCURRENT EXPLAIN MODE YesCURRENT EXPLAIN SNAPSHOT YesCURRENT FEDERATED ASYNCHRONY YesCURRENT IMPLICIT XMLPARSE OPTION YesCURRENT ISOLATION YesCURRENT LOCK TIMEOUT YesCURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION YesCURRENT PACKAGE PATH YesCURRENT PATH YesCURRENT QUERY OPTIMIZATION YesCURRENT REFRESH AGE YesCURRENT SCHEMA YesCURRENT SERVER NoCURRENT TIME NoCURRENT TIMESTAMP NoCURRENT TIMEZONE NoCURRENT USER NoSESSION_USERYesSYSTEM_USERNoUSERYesWhen a special register is referenced in a routine, the value of the special registerin the routine depends on whether the special register is updatable or not. Fornon-updatable special registers, the value is set to the default value for the specialregister. For updatable special registers, the initial value is inherited from theinvoker of the routine and can be changed with a subsequent SET statement insidethe routine.128 <strong>SQL</strong> <strong>Reference</strong> <strong>Volume</strong> 1
CURRENT CLIENT_ACCTNGCURRENT CLIENT_ACCTNGThe CURRENT CLIENT_ACCTNG (or CLIENT ACCTNG) special register containsthe value of the accounting string from the client information specified for thisconnection. The data type of the register is VARCHAR(255). The default value ofthis register is an empty string.The value of the accounting string can be changed by using the Set ClientInformation (sqleseti) API.Note that the value provided via the sqleseti API is in the application code page,and the special register value is stored in the database code page. Depending onthe data values used when setting the client information, truncation of the datavalue stored in the special register may occur during code page conversion.Example: Get the current value of the accounting string for this connection.VALUES (CURRENT CLIENT_ACCTNG)INTO :ACCT_STRINGChapter 2. Language elements 129
- Page 1:
DB2 ®DB2 Version 9for Linux, UNIX,
- Page 4 and 5:
Before using this information and t
- Page 6 and 7:
Supported data sources . . . . . .
- Page 8 and 9:
VARIANCE . . . . . . . . . . . . .
- Page 11 and 12:
Appendix B. SQLCA (SQL communicatio
- Page 13 and 14:
SYSSTAT.COLUMNS . . . . . . . . . .
- Page 15 and 16:
Terms and Conditions . . . . . . .
- Page 17 and 18:
About this bookWho should use this
- Page 19 and 20:
How to read the syntax diagrams►
- Page 21 and 22:
Related documentationRelated docume
- Page 23 and 24:
Chapter 1. ConceptsThis chapter pro
- Page 25 and 26:
Java database connectivity (JDBC) a
- Page 27 and 28:
Tablesa typed table and all typed t
- Page 29 and 30:
ConstraintsThe table containing the
- Page 31 and 32:
Constraintsv If D is a dependent of
- Page 33 and 34:
TriggersThe statement that causes a
- Page 35 and 36:
PackagesPackagesA package is an obj
- Page 37 and 38:
Privileges, authority levels, and d
- Page 39 and 40:
Privileges, authority levels, and d
- Page 41 and 42:
Application processes, concurrency,
- Page 43 and 44:
Isolation levelsfor alternate isola
- Page 45 and 46:
Isolation levelsCan “updated” r
- Page 47 and 48:
Table spaces and other storage stru
- Page 49 and 50:
Character conversionv The statement
- Page 51 and 52:
Remote unit of workWhether or not i
- Page 53 and 54:
Application-directed distributed un
- Page 55 and 56:
Application process connection stat
- Page 57 and 58:
Options that govern distributed uni
- Page 59 and 60:
Database partitioning across multip
- Page 61 and 62:
DB2 federated systemsDB2 federated
- Page 63 and 64:
DB2 federated systemsTo obtain data
- Page 65 and 66:
DB2 federated systemsNicknames and
- Page 67 and 68:
The federated serverThe DB2 ® serv
- Page 69 and 70:
DB2 federated systemsTable 1. Suppo
- Page 71 and 72:
DB2 federated systemsTo see the dat
- Page 73 and 74:
DB2 federated systemsSELECT.....WHE
- Page 75 and 76:
Chapter 2. Language elementsCharact
- Page 77 and 78:
TokensTokensTokens are the basic sy
- Page 79 and 80:
IdentifiersIdentifiersAn identifier
- Page 81 and 82:
Naming conventions and implicit obj
- Page 83 and 84:
Naming conventions and implicit obj
- Page 85 and 86:
Authorization IDs and authorization
- Page 87 and 88:
Dynamic SQL characteristics at run
- Page 89 and 90:
Correlation namesA correlation name
- Page 91 and 92:
Table designatorsSELECT CORZ.COLA,
- Page 93 and 94:
Column name qualifiers in correlate
- Page 95 and 96:
Host variables in dynamic SQLwith a
- Page 97 and 98:
References to BLOB, CLOB, and DBCLO
- Page 99 and 100: References to structured type host
- Page 101 and 102: Data typesFigure 10. The DB2 Built-
- Page 103 and 104: Character stringsCharacter stringsA
- Page 105 and 106: String units in built-in functionsF
- Page 107 and 108: Graphic stringsGraphic stringsA gra
- Page 109 and 110: Large objects (LOBs)Large objects (
- Page 111 and 112: String representations of datetime
- Page 113 and 114: DATALINK valuesDATALINK valuesA DAT
- Page 115 and 116: XML valuesXML valuesAn XML value re
- Page 117 and 118: Structured typesA structured type m
- Page 119 and 120: Promotion of data typesPromotion of
- Page 121 and 122: Casting between data typesCasting b
- Page 123 and 124: Casting between data typesTable 6.
- Page 125 and 126: Casting between data typesTable 8.
- Page 127 and 128: Assignments and comparisonsAssignme
- Page 129 and 130: Floating-point to decimalthen, if n
- Page 131 and 132: DBCS considerations for graphic str
- Page 133 and 134: Reference type assignmentsv A value
- Page 135 and 136: String comparisonsFor this particul
- Page 137 and 138: User-defined type comparisonsHoweve
- Page 139 and 140: Graphic stringsGraphic strings are
- Page 141 and 142: Rules for result data typesReferenc
- Page 143 and 144: Rules for string conversionsv The s
- Page 145 and 146: Database partition-compatible data
- Page 147 and 148: Floating-point constantsDecimalof t
- Page 149: Special registersSpecial registersS
- Page 153 and 154: CURRENT CLIENT_USERIDCURRENT CLIENT
- Page 155 and 156: CURRENT DATECURRENT DATEThe CURRENT
- Page 157 and 158: CURRENT DEFAULT TRANSFORM GROUPThe
- Page 159 and 160: CURRENT EXPLAIN MODECURRENT EXPLAIN
- Page 161 and 162: CURRENT FEDERATED ASYNCHRONYThe CUR
- Page 163 and 164: CURRENT ISOLATIONCURRENT ISOLATIONT
- Page 165 and 166: CURRENT MAINTAINED TABLE TYPES FOR
- Page 167 and 168: CURRENT PATHCURRENT PATHThe CURRENT
- Page 169 and 170: CURRENT REFRESH AGECURRENT REFRESH
- Page 171 and 172: CURRENT SERVERCURRENT SERVERThe CUR
- Page 173 and 174: CURRENT TIMESTAMPCURRENT TIMESTAMPT
- Page 175 and 176: CURRENT USERCURRENT USERThe CURRENT
- Page 177 and 178: SYSTEM_USERSYSTEM_USERThe SYSTEM_US
- Page 179 and 180: FunctionsFunctionsA function is an
- Page 181 and 182: Function resolutionargument list. A
- Page 183 and 184: SQL path considerations for built-i
- Page 185 and 186: Conservative binding semanticsv A n
- Page 187 and 188: MethodsMethodsA database method of
- Page 189 and 190: Method resolutionThe database manag
- Page 191 and 192: Example of method resolutionMethodF
- Page 193 and 194: Dynamic dispatch of methodsSELECT i
- Page 195 and 196: ExpressionsExpressionsExpressionsAn
- Page 197 and 198: Expressions with the concatenation
- Page 199 and 200: Expressions with arithmetic operato
- Page 201 and 202:
User-defined types as operandsA use
- Page 203 and 204:
DurationsTimestamp duration: A time
- Page 205 and 206:
Datetime arithmetic in SQLNote: If
- Page 207 and 208:
CASE expressionsCASE expressionscas
- Page 209 and 210:
CAST specificationsCAST specificati
- Page 211 and 212:
CAST specificationsv “Casting bet
- Page 213 and 214:
XMLCAST specificationsv Convert a v
- Page 215 and 216:
Dereference operationsv Assume the
- Page 217 and 218:
OLAP functionsdesc option:DESCNULLS
- Page 219 and 220:
OLAP functionsinclude a scalar full
- Page 221 and 222:
OLAP functionsSELECT WORKDEPT, AVG(
- Page 223 and 224:
Method invocationExample:v Use the
- Page 225 and 226:
Sequence referenceSequence referenc
- Page 227 and 228:
Sequence reference- select-clause o
- Page 229 and 230:
PredicatesPredicatesPredicatesA pre
- Page 231 and 232:
Search conditionsMAJPROJ = 'MA2100'
- Page 233 and 234:
Basic predicateBasic predicate►
- Page 235 and 236:
Quantified predicateTBL AB:TBL XY:C
- Page 237 and 238:
BETWEEN predicateBETWEEN predicate
- Page 239 and 240:
IN predicateIN predicate►►expre
- Page 241 and 242:
LIKE predicateLIKE predicate►►m
- Page 243 and 244:
LIKE predicatev An SBCS halfwidth u
- Page 245 and 246:
LIKE predicateThe database manager
- Page 247 and 248:
TYPE predicateTYPE predicate►►
- Page 249 and 250:
VALIDATED predicateVALIDATED predic
- Page 251 and 252:
XMLEXISTS predicateWhen the xquery-
- Page 253 and 254:
Chapter 3. FunctionsFunctionsovervi
- Page 255 and 256:
Supported functionsSupported functi
- Page 257 and 258:
Supported functionsTable 16. Suppor
- Page 259 and 260:
Supported functionsTable 16. Suppor
- Page 261 and 262:
Supported functionsTable 16. Suppor
- Page 263 and 264:
Supported functionsTable 16. Suppor
- Page 265 and 266:
Supported functionsTable 16. Suppor
- Page 267 and 268:
Supported functionsTable 16. Suppor
- Page 269 and 270:
Supported functionsTable 16. Suppor
- Page 271 and 272:
Supported functionsTable 16. Suppor
- Page 273 and 274:
Supported functionsTable 17. Aggreg
- Page 275 and 276:
Supported functionsTable 20. Dateti
- Page 277 and 278:
Supported functionsTable 23. XML fu
- Page 279 and 280:
Supported functionsTable 25. Miscel
- Page 281 and 282:
AVGAVG►► AVG (ALLDISTINCTexpres
- Page 283 and 284:
CORRELATIONCORRELATION►►CORRELA
- Page 285 and 286:
COUNT_BIGCOUNT_BIG►► COUNT_BIG
- Page 287 and 288:
COVARIANCECOVARIANCE►►COVARIANC
- Page 289 and 290:
GROUPINGAn application can recogniz
- Page 291 and 292:
MAXResults in LAST_PROJ being set t
- Page 293 and 294:
XMLAGGXMLAGG►►XMLAGG( XML-expre
- Page 295 and 296:
Regression functionsRegression func
- Page 297 and 298:
Regression functionsRSQR (double-pr
- Page 299 and 300:
SUMSUM►► SUM (ALLDISTINCTexpres
- Page 301 and 302:
Scalar functionsScalar functionsA s
- Page 303 and 304:
ACOSACOS►► ACOS ( expression )
- Page 305 and 306:
ASINASIN►► ASIN ( expression )
- Page 307 and 308:
ATAN2ATAN2►► ATAN2 ( expression
- Page 309 and 310:
BIGINTBIGINT►► BIGINT ( numeric
- Page 311 and 312:
BLOBBLOB►► BLOB ( string-expres
- Page 313 and 314:
CHARCHARCharacter to Character:►
- Page 315 and 316:
CHARThe code page of the string is
- Page 317 and 318:
CHARACTER_LENGTHCHARACTER_LENGTH►
- Page 319 and 320:
CHRCHR►► CHR ( expression ) ►
- Page 321 and 322:
COALESCECOALESCE►►(1)COALESCE (
- Page 323 and 324:
COSCOS►► COS ( expression ) ►
- Page 325 and 326:
COTCOT►► COT ( expression ) ►
- Page 327 and 328:
DATEDATE►► DATE ( expression )
- Page 329 and 330:
DAYNAMEDAYNAME►► DAYNAME ( expr
- Page 331 and 332:
DAYOFWEEK_ISODAYOFWEEK_ISO►► DA
- Page 333 and 334:
DAYSDAYS►► DAYS ( expression )
- Page 335 and 336:
DBPARTITIONNUMDBPARTITIONNUM►►
- Page 337 and 338:
DECIMALDECIMALNumeric to Decimal:
- Page 339 and 340:
DECIMALExamples:v TIME. The result
- Page 341 and 342:
DECRYPT_BIN and DECRYPT_CHARDECRYPT
- Page 343 and 344:
DEGREESDEGREES►► DEGREES ( expr
- Page 345 and 346:
DIFFERENCEDIFFERENCE►► DIFFEREN
- Page 347 and 348:
DOUBLEDOUBLENumeric to Double:►
- Page 349 and 350:
ENCRYPTENCRYPT►► ENCRYPT ►►
- Page 351 and 352:
EVENT_MON_STATEEVENT_MON_STATE►
- Page 353 and 354:
FLOATFLOAT►► FLOAT ( numeric-ex
- Page 355 and 356:
GETHINTGETHINT►► GETHINT ( encr
- Page 357 and 358:
GENERATE_UNIQUECREATE TRIGGER EMP_U
- Page 359 and 360:
GRAPHICThe length attribute of the
- Page 361 and 362:
HASHEDVALUECREATE TRIGGER EMPINSLOG
- Page 363 and 364:
HEX- Result is a character string o
- Page 365 and 366:
IDENTITY_VAL_LOCALIDENTITY_VAL_LOCA
- Page 367 and 368:
IDENTITY_VAL_LOCALINSERT INTO T1 (C
- Page 369 and 370:
INSERTINSERT►► INSERT ( express
- Page 371 and 372:
INTEGERINTEGER(BIRTHDATE)results in
- Page 373 and 374:
LCASE or LOWERLCASE or LOWER►►
- Page 375 and 376:
LEFTLEFT►► LEFT ( expression1 ,
- Page 377 and 378:
LENGTHv Assume that the host variab
- Page 379 and 380:
LOCATELOCATE►► LOCATE ( search-
- Page 381 and 382:
LOCATESELECT RECEIVED, SUBJECT, LOC
- Page 383 and 384:
LOG10LOG10►► LOG10 ( expression
- Page 385 and 386:
LONG_VARGRAPHICLONG_VARGRAPHIC►
- Page 387 and 388:
LTRIM (SYSFUN schema)LTRIM (SYSFUN
- Page 389 and 390:
MIDNIGHT_SECONDSMIDNIGHT_SECONDS►
- Page 391 and 392:
MODMOD►► MOD ( expression , exp
- Page 393 and 394:
MONTHNAMEMONTHNAME►► MONTHNAME
- Page 395 and 396:
MULTIPLY_ALTMultiply two values whe
- Page 397 and 398:
OCTET_LENGTHOCTET_LENGTH►► OCTE
- Page 399 and 400:
POSITIONCODEUNITS16, CODEUNITS32, o
- Page 401 and 402:
POSSTRPOSSTR►► POSSTR ( source-
- Page 403 and 404:
POWERPOWER►► POWER ( expression
- Page 405 and 406:
RADIANSRADIANS►► RADIANS ( expr
- Page 407 and 408:
RANDRAND►► RAND ( )expression
- Page 409 and 410:
REC2XMLREC2XML►► REC2XML ( deci
- Page 411 and 412:
REC2XMLThe r n is equivalent to a s
- Page 413 and 414:
REPEATREPEAT►► REPEAT ( express
- Page 415 and 416:
RIGHTRIGHT►► RIGHT ( expression
- Page 417 and 418:
ROUNDVALUES (ROUND(873.726, 2),ROUN
- Page 419 and 420:
RTRIM (SYSFUN schema)RTRIM (SYSFUN
- Page 421 and 422:
SECLABEL_BY_NAMESECLABEL_BY_NAME►
- Page 423 and 424:
SECLABEL_TO_CHARDjavan holds a secu
- Page 425 and 426:
SIGNSIGN►► SIGN ( expression )
- Page 427 and 428:
SINHSINH►► SINH ( expression )
- Page 429 and 430:
SOUNDEXSOUNDEX►► SOUNDEX ( expr
- Page 431 and 432:
SQRTSQRT►► SQRT ( expression )
- Page 433 and 434:
SUBSTRSUBSTR►► SUBSTR ( string
- Page 435 and 436:
SUBSTRIf string is a fixed-length s
- Page 437 and 438:
SUBSTRINGFor more information about
- Page 439 and 440:
TABLE_NAMETABLE_NAME►► TABLE_NA
- Page 441 and 442:
TABLE_SCHEMAThe requested statistic
- Page 443 and 444:
TANHTANH►► TANH ( expression )
- Page 445 and 446:
TIMESTAMPTIMESTAMP►► TIMESTAMP
- Page 447 and 448:
TIMESTAMP_FORMATv Insert a row into
- Page 449 and 450:
TIMESTAMPDIFFTIMESTAMPDIFF►► TI
- Page 451 and 452:
TO_CHARTO_CHAR►► TO_CHAR ( time
- Page 453 and 454:
TRANSLATETRANSLATEcharacter string
- Page 455 and 456:
TRIMTRIM►► TRIM ( string-expres
- Page 457 and 458:
TRUNCATE or TRUNCTRUNCATE or TRUNC
- Page 459 and 460:
TYPE_NAMETYPE_NAME►► TYPE_NAME
- Page 461 and 462:
UCASE or UPPERUCASE or UPPER►►
- Page 463 and 464:
VARCHARVARCHARCharacter to Varchar:
- Page 465 and 466:
VARCHAR_FORMATVARCHAR_FORMAT►►
- Page 467 and 468:
VARGRAPHICVARGRAPHICGraphic to Varg
- Page 469 and 470:
WEEKWEEK►► WEEK ( expression )
- Page 471 and 472:
XMLATTRIBUTESXMLATTRIBUTES►► XM
- Page 473 and 474:
XMLCOMMENTXMLCOMMENT►► XMLCOMME
- Page 475 and 476:
XMLCONCATVINCENZOMICHAELRelated con
- Page 477 and 478:
XMLDOCUMENT’This is just a simple
- Page 479 and 480:
XMLELEMENTIf element-content-expres
- Page 481 and 482:
XMLELEMENTf. Element, text, comment
- Page 483 and 484:
XMLELEMENTv “XMLAGG ” on page 2
- Page 485 and 486:
XMLFORESTOPTIONSpecifies additional
- Page 487 and 488:
XMLFORESTv “XMLDOCUMENT ” on pa
- Page 489 and 490:
XMLNAMESPACESSELECT EMPNO, XMLELEME
- Page 491 and 492:
XMLPARSEXMLPARSE►►STRIP WHITESP
- Page 493 and 494:
XMLPIXMLPI►► XMLPI ( NAME pi-na
- Page 495 and 496:
XMLQUERYXMLQUERY►► XMLQUERY ( x
- Page 497 and 498:
XMLQUERYEMPTY ON EMPTYSpecifies tha
- Page 499 and 500:
XMLSERIALIZEVERSION ’1.0’Specif
- Page 501 and 502:
XMLTEXTXMLTEXT►► XMLTEXT ( stri
- Page 503 and 504:
XMLVALIDATEXMLVALIDATE►►DOCUMEN
- Page 505 and 506:
XMLVALIDATEv If the argument to XML
- Page 507 and 508:
XMLXSROBJECTIDXMLXSROBJECTID►►
- Page 509 and 510:
Table functionsTable functionsA tab
- Page 511 and 512:
XMLTABLEBY REFSpecifies that any XM
- Page 513 and 514:
XMLTABLEIf the evaluation of any of
- Page 515 and 516:
User-defined functionsTABLE and a m
- Page 517 and 518:
Chapter 4. ProceduresProceduresover
- Page 519 and 520:
XSR_ADDSCHEMADOCExample:CALL SYSPRO
- Page 521 and 522:
XSR_DTDXSR_DTD procedure►► XSR_
- Page 523 and 524:
XSR_EXTENTITYXSR_EXTENTITY procedur
- Page 525 and 526:
XSR_REGISTERXSR_REGISTER procedure
- Page 527 and 528:
Chapter 5. QueriesSQLqueriesA query
- Page 529 and 530:
select-clauseselect-clause►►SEL
- Page 531 and 532:
Null attributes of result columnsNu
- Page 533 and 534:
table-referenceAScorrelation-name,(
- Page 535 and 536:
table-referencealso be specified to
- Page 537 and 538:
table-referenceSELECT SUM(Sales.Rev
- Page 539 and 540:
Correlated references in table-refe
- Page 541 and 542:
joined-tableA joined table specifie
- Page 543 and 544:
group-by-clausegroup-by-clause►
- Page 545 and 546:
super-groupsgrouping-expression-lis
- Page 547 and 548:
super-groupsGROUP BY GROUPING SETS(
- Page 549 and 550:
having-clauseThe HAVING clause spec
- Page 551 and 552:
order-by-clauseORDER OF table-desig
- Page 553 and 554:
Examples of subselectsExample A4: S
- Page 555 and 556:
Examples of joinsSELECT * FROM J1,
- Page 557 and 558:
Examples of grouping sets, cube, an
- Page 559 and 560:
Examples of grouping sets, cube, an
- Page 561 and 562:
Examples of grouping sets, cube, an
- Page 563 and 564:
Examples of grouping sets, cube, an
- Page 565 and 566:
FullselectFullselect►►subselect
- Page 567 and 568:
Fullselectv If the nth column of R1
- Page 569 and 570:
Examples of a fullselectIf no NULL
- Page 571 and 572:
common-table-expressionIf the fulls
- Page 573 and 574:
common-table-expressionUNION ALLSEL
- Page 575 and 576:
common-table-expressionLooking at t
- Page 577 and 578:
optimize-for-clauseThis clause does
- Page 579 and 580:
Examples of a select-statement),DIN
- Page 581 and 582:
Appendix A. SQL and XQuery limitsTh
- Page 583 and 584:
SQL limitsTable 31. String Limits (
- Page 585 and 586:
SQL limitsTable 34. Database Manage
- Page 587 and 588:
SQL limitsTable 35. Database Manage
- Page 589 and 590:
Appendix B. SQLCA (SQL communicatio
- Page 591 and 592:
SQLCA field descriptionsTable 36. F
- Page 593 and 594:
Error reporting1. Severe error cond
- Page 595 and 596:
Appendix C. SQLDA (SQL descriptor a
- Page 597 and 598:
Fields in an occurrence of a base S
- Page 599 and 600:
Fields in an occurrence of a second
- Page 601 and 602:
Effect of DESCRIBE on the SQLDASQLT
- Page 603 and 604:
Unrecognized and unsupported SQLTYP
- Page 605 and 606:
Appendix D. Catalog viewsSystem cat
- Page 607 and 608:
Road map to the catalog viewsRoad m
- Page 609 and 610:
Road map to the catalog viewsTable
- Page 611 and 612:
SYSIBM.SYSDUMMY1SYSIBM.SYSDUMMY1Tab
- Page 613 and 614:
SYSCAT.ATTRIBUTESTable 45. SYSCAT.A
- Page 615 and 616:
SYSCAT.BUFFERPOOLSSYSCAT.BUFFERPOOL
- Page 617 and 618:
SYSCAT.CHECKSSYSCAT.CHECKSTable 49.
- Page 619 and 620:
SYSCAT.COLCHECKSSYSCAT.COLCHECKSTab
- Page 621 and 622:
SYSCAT.COLGROUPCOLSSYSCAT.COLGROUPC
- Page 623 and 624:
SYSCAT.COLGROUPDISTCOUNTSSYSCAT.COL
- Page 625 and 626:
SYSCAT.COLIDENTATTRIBUTESSYSCAT.COL
- Page 627 and 628:
SYSCAT.COLUMNSSYSCAT.COLUMNSTable 5
- Page 629 and 630:
SYSCAT.COLUMNSTable 59. SYSCAT.COLU
- Page 631 and 632:
SYSCAT.COLUMNSTable 59. SYSCAT.COLU
- Page 633 and 634:
SYSCAT.CONSTDEPSYSCAT.CONSTDEPTable
- Page 635 and 636:
SYSCAT.DATAPARTITIONSSYSCAT.DATAPAR
- Page 637 and 638:
SYSCAT.DATATYPESSYSCAT.DATATYPESTab
- Page 639 and 640:
SYSCAT.DBAUTHSYSCAT.DBAUTHTable 65.
- Page 641 and 642:
SYSCAT.DBPARTITIONGROUPSSYSCAT.DBPA
- Page 643 and 644:
SYSCAT.EVENTMONITORSTable 68. SYSCA
- Page 645 and 646:
SYSCAT.EVENTTABLESSYSCAT.EVENTTABLE
- Page 647 and 648:
SYSCAT.FUNCMAPOPTIONSSYSCAT.FUNCMAP
- Page 649 and 650:
SYSCAT.FUNCMAPPINGSSYSCAT.FUNCMAPPI
- Page 651 and 652:
SYSCAT.INDEXAUTHSYSCAT.INDEXAUTHTab
- Page 653 and 654:
SYSCAT.INDEXDEPSYSCAT.INDEXDEPTable
- Page 655 and 656:
SYSCAT.INDEXESTable 79. SYSCAT.INDE
- Page 657 and 658:
SYSCAT.INDEXESTable 79. SYSCAT.INDE
- Page 659 and 660:
SYSCAT.INDEXEXPLOITRULESSYSCAT.INDE
- Page 661 and 662:
SYSCAT.INDEXEXTENSIONMETHODSSYSCAT.
- Page 663 and 664:
SYSCAT.INDEXEXTENSIONSSYSCAT.INDEXE
- Page 665 and 666:
SYSCAT.INDEXXMLPATTERNSSYSCAT.INDEX
- Page 667 and 668:
SYSCAT.NAMEMAPPINGSSYSCAT.NAMEMAPPI
- Page 669 and 670:
SYSCAT.NICKNAMESTable 89. SYSCAT.NI
- Page 671 and 672:
SYSCAT.PACKAGEAUTHSYSCAT.PACKAGEAUT
- Page 673 and 674:
SYSCAT.PACKAGESSYSCAT.PACKAGESTable
- Page 675 and 676:
SYSCAT.PACKAGESTable 92. SYSCAT.PAC
- Page 677 and 678:
SYSCAT.PACKAGESTable 92. SYSCAT.PAC
- Page 679 and 680:
SYSCAT.PASSTHRUAUTHSYSCAT.PASSTHRUA
- Page 681 and 682:
SYSCAT.REFERENCESSYSCAT.REFERENCEST
- Page 683 and 684:
SYSCAT.ROUTINEDEPSYSCAT.ROUTINEDEPT
- Page 685 and 686:
SYSCAT.ROUTINEPARMOPTIONSSYSCAT.ROU
- Page 687 and 688:
SYSCAT.ROUTINEPARMSTable 101. SYSCA
- Page 689 and 690:
SYSCAT.ROUTINESTable 102. SYSCAT.RO
- Page 691 and 692:
SYSCAT.ROUTINESTable 102. SYSCAT.RO
- Page 693 and 694:
SYSCAT.ROUTINESTable 102. SYSCAT.RO
- Page 695 and 696:
SYSCAT.ROUTINESTable 102. SYSCAT.RO
- Page 697 and 698:
SYSCAT.ROUTINESFEDERATEDTable 103.
- Page 699 and 700:
SYSCAT.SCHEMATASYSCAT.SCHEMATAEach
- Page 701 and 702:
SYSCAT.SECURITYLABELCOMPONENTELEMEN
- Page 703 and 704:
SYSCAT.SECURITYLABELSSYSCAT.SECURIT
- Page 705 and 706:
SYSCAT.SECURITYPOLICYCOMPONENTRULES
- Page 707 and 708:
SYSCAT.SURROGATEAUTHIDSSYSCAT.SURRO
- Page 709 and 710:
SYSCAT.SEQUENCESSYSCAT.SEQUENCESEac
- Page 711 and 712:
SYSCAT.SERVEROPTIONSSYSCAT.SERVEROP
- Page 713 and 714:
SYSCAT.STATEMENTSSYSCAT.STATEMENTST
- Page 715 and 716:
SYSCAT.TABAUTHTable 119. SYSCAT.TAB
- Page 717 and 718:
SYSCAT.TABDEPSYSCAT.TABDEPTable 121
- Page 719 and 720:
SYSCAT.TABDETACHEDDEPSYSCAT.TABDETA
- Page 721 and 722:
SYSCAT.TABLESTable 123. SYSCAT.TABL
- Page 723 and 724:
SYSCAT.TABLESTable 123. SYSCAT.TABL
- Page 725 and 726:
SYSCAT.TABLESTable 123. SYSCAT.TABL
- Page 727 and 728:
SYSCAT.TABLESPACESTable 124. SYSCAT
- Page 729 and 730:
SYSCAT.TBSPACEAUTHSYSCAT.TBSPACEAUT
- Page 731 and 732:
SYSCAT.TRIGDEPSYSCAT.TRIGDEPTable 1
- Page 733 and 734:
SYSCAT.TRIGGERSAppendix D. Catalog
- Page 735 and 736:
SYSCAT.TYPEMAPPINGSTable 130. SYSCA
- Page 737 and 738:
SYSCAT.USEROPTIONSSYSCAT.USEROPTION
- Page 739 and 740:
SYSCAT.WRAPOPTIONSSYSCAT.WRAPOPTION
- Page 741 and 742:
SYSCAT.XDBMAPGRAPHSSYSCAT.XDBMAPGRA
- Page 743 and 744:
SYSCAT.XSROBJECTAUTHSYSCAT.XSROBJEC
- Page 745 and 746:
SYSCAT.XSROBJECTDEPSYSCAT.XSROBJECT
- Page 747 and 748:
SYSCAT.XSROBJECTSSYSCAT.XSROBJECTST
- Page 749 and 750:
SYSSTAT.COLGROUPDISTSYSSTAT.COLGROU
- Page 751 and 752:
SYSSTAT.COLGROUPSSYSSTAT.COLGROUPST
- Page 753 and 754:
SYSSTAT.INDEXESSYSSTAT.INDEXESTable
- Page 755 and 756:
SYSSTAT.INDEXESTable 147. SYSSTAT.I
- Page 757 and 758:
SYSSTAT.TABLESSYSSTAT.TABLESTable 1
- Page 759 and 760:
Appendix E. Federated systemsValid
- Page 761 and 762:
InformixwrapperA server type specif
- Page 763 and 764:
Federated systemsTable 151. Nicknam
- Page 765 and 766:
Federated systemsTable 153. Column
- Page 767 and 768:
Federated systemsTable 153. Column
- Page 769 and 770:
Federated systemsTable 153. Column
- Page 771 and 772:
Federated systemsTable 155. Server
- Page 773 and 774:
Federated systemsTable 157. Server
- Page 775 and 776:
Federated systemsTable 158. Server
- Page 777 and 778:
Federated systemsTable 158. Server
- Page 779 and 780:
Federated systemsTable 158. Server
- Page 781 and 782:
Federated systemsTable 158. Server
- Page 783 and 784:
Federated systemsTable 158. Server
- Page 785 and 786:
Federated systemsTable 158. Server
- Page 787 and 788:
Federated systemsWrapper options fo
- Page 789 and 790:
Federated systemsTable 160. Wrapper
- Page 791 and 792:
Federated systemsTable 163. DB2 Ser
- Page 793 and 794:
Federated systemsTable 166. Microso
- Page 795 and 796:
Federated systemsOracle NET8 data s
- Page 797 and 798:
Federated systemsTable 170. Teradat
- Page 799 and 800:
Federated systemsTable 173. DB2 for
- Page 801 and 802:
Federated systemsOracle NET8 data s
- Page 803 and 804:
Appendix F. The SAMPLE database and
- Page 805 and 806:
Appendix G. Reserved schema names a
- Page 807 and 808:
Reserved schema names and reserved
- Page 809 and 810:
Appendix H. Interaction of triggers
- Page 811 and 812:
Appendix I. Explain tablesExplainta
- Page 813 and 814:
EXPLAIN_ARGUMENT tableTable 181. AR
- Page 815 and 816:
EXPLAIN_ARGUMENT tableTable 181. AR
- Page 817 and 818:
EXPLAIN_DIAGNOSTIC tableEXPLAIN_DIA
- Page 819 and 820:
EXPLAIN_INSTANCE tableEXPLAIN_INSTA
- Page 821 and 822:
EXPLAIN_INSTANCE tableAppendix I. E
- Page 823 and 824:
EXPLAIN_OBJECT tableTable 185. EXPL
- Page 825 and 826:
EXPLAIN_OPERATOR tableEXPLAIN_OPERA
- Page 827 and 828:
EXPLAIN_PREDICATE tableEXPLAIN_PRED
- Page 829 and 830:
EXPLAIN_PREDICATE tableAppendix I.
- Page 831 and 832:
EXPLAIN_STATEMENT tableTable 192. E
- Page 833 and 834:
EXPLAIN_STREAM tableTable 193. EXPL
- Page 835 and 836:
ADVISE_INDEX tableTable 194. ADVISE
- Page 837 and 838:
ADVISE_INSTANCE tableADVISE_INSTANC
- Page 839 and 840:
ADVISE_PARTITION tableADVISE_PARTIT
- Page 841 and 842:
ADVISE_WORKLOAD tableADVISE_WORKLOA
- Page 843 and 844:
Appendix J. Explain register values
- Page 845 and 846:
Explain register valuesTable 201. I
- Page 847 and 848:
Explain register valuesThe CURRENT
- Page 849 and 850:
Appendix K. Exception tablesExcepti
- Page 851 and 852:
Handling rows in an exception table
- Page 853 and 854:
Appendix L. SQL statements allowed
- Page 855 and 856:
SQL statements allowed in routinesp
- Page 857 and 858:
Appendix M. CALL invoked from a com
- Page 859 and 860:
CALL invoked from a compiled statem
- Page 861 and 862:
CALL invoked from a compiled statem
- Page 863 and 864:
Appendix N. Japanese and traditiona
- Page 865 and 866:
Rules for result data typesConstant
- Page 867 and 868:
LIKE predicateJapanese EUC are mult
- Page 869 and 870:
Appendix O. Backus-Naur form (BNF)
- Page 871 and 872:
Appendix P. DB2 Database technical
- Page 873 and 874:
Table 205. DB2 technical informatio
- Page 875 and 876:
Note: The most up-to-date and compl
- Page 877 and 878:
Related concepts:v “Overview of t
- Page 879 and 880:
DB2 tutorialsThe DB2 tutorials help
- Page 881 and 882:
Appendix Q. NoticesIBM may not offe
- Page 883 and 884:
© (your company name) (year). Port
- Page 885 and 886:
IndexSpecialcharacters(asterisk)in
- Page 887 and 888:
catalog views (continued)SYSSTAT.RO
- Page 889 and 890:
CURRENT DEGREE special registerdesc
- Page 891 and 892:
dormant connection state 27DOUBLE d
- Page 893 and 894:
functions (continued)scalar (contin
- Page 895 and 896:
JJava database connectivity (JDBC)e
- Page 897 and 898:
OR truth table 208Oracledefault for
- Page 899 and 900:
outines (continued)SQL administrati
- Page 901 and 902:
SQLLEN field in SQLDA 573SQLLONGLEN
- Page 903 and 904:
TYPE_SCHEMA function (continued)des
- Page 905 and 906:
Contacting IBMTo contact IBM in you
- Page 908 and 909:
Printed in USASC10-4249-00
Inappropriate
Loading...
Inappropriate
You have already flagged this document.
Thank you, for helping us keep this platform clean.
The editors will have a look at it as soon as possible.
Mail this publication
Loading...
Embed
Loading...
Delete template?
Are you sure you want to delete your template?
DOWNLOAD ePAPER
This ePaper is currently not available for download.
You can find similar magazines on this topic below under ‘Recommendations’.