ibm-information-center/dist/eclipse/plugins/i5OS.ic.db2_5.4.0.1/rbafzmstcatalogans.htm

3042 lines
115 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-19" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow"/>
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="keywords" content="CHARACTER_SETS, catalog view, CHARACTER_SETS view,
CHECK_CONSTRAINTS, CHECK_CONSTRAINTS view, COLUMNS, COLUMNS view,
INFORMATION_SCHEMA _CATALOG_NAME, INFORMATION_SCHEMA _CATALOG_NAME view,
PARAMETERS, PARAMETERS view, REFERENTIAL_ CONSTRAINTS,
REFERENTIAL_CONSTRAINTS view, ROUTINES, ROUTINES view, SCHEMATA, SCHEMATA view,
SQL_FEATURES, catalog table, SQL_FEATURES table, SQL_LANGUAGES,
SQL_LANGUAGES table, SQL_SIZING, SQL_SIZING table, TABLE_CONSTRAINTS,
TABLE_CONSTRAINTS view, TABLES, TABLES view, USER_DEFINED_TYPES,
USER_DEFINED_TYPES view, VIEWS, VIEWS view" />
<title>ANS and ISO catalog views</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<a name="catalogans"></a>
<h2 id="catalogans"><a href="rbafzmst02.htm#ToC_1557">ANS and ISO catalog views</a></h2>
<p>There are two versions of some of the ANS and ISO catalog views. The version
documented is the normal set of ANS and ISO views. A second set of views have
names that are limited to no more than 18 characters and other than the view
names are not documented in this book.</p>
<p>The ANS and ISO catalog includes the following tables in the QSYS2 library:</p>
<a name="wq2335"></a>
<table id="wq2335" width="100%" summary="" border="0" frame="void" rules="all">
<thead valign="bottom">
<tr>
<th id="wq2336" width="51%" align="left" valign="bottom">View Name</th>
<th id="wq2337" width="21%" align="left" valign="bottom">Shorter View Name</th>
<th id="wq2338" width="27%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2336"><a href="rbafzmstcatalogans.htm#catsql_features">SQL_FEATURES</a></td>
<td headers="wq2337"></td>
<td align="left" valign="top" headers="wq2338">Information about features supported by the
database manager</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2336"><a href="rbafzmstcatalogans.htm#catsql_lang">SQL_LANGUAGES</a></td>
<td headers="wq2337">SQL_LANGUAGES_S</td>
<td align="left" valign="top" headers="wq2338">Information about the supported languages</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2336"><a href="rbafzmstcatalogans.htm#catsql_sizing">SQL_SIZING</a></td>
<td headers="wq2337"></td>
<td align="left" valign="top" headers="wq2338">Information about the limits supported by
the database manager</td>
</tr>
</tbody>
</table>
<p>The ANS and ISO catalog includes the following views and tables in the
SYSIBM and QSYS2 libraries:</p>
<a name="wq2339"></a>
<table id="wq2339" width="100%" summary="" border="0" frame="void" rules="all">
<thead valign="bottom">
<tr>
<th id="wq2340" width="51%" align="left" valign="bottom">View Name</th>
<th id="wq2341" width="21%" align="left" valign="bottom">Shorter View Name</th>
<th id="wq2342" width="27%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catcharacter_sets">CHARACTER_SETS</a></td>
<td headers="wq2341">CHARACTER_SETS_S</td>
<td align="left" valign="top" headers="wq2342">Information about supported CCSIDs</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catcheck_constraints">CHECK_CONSTRAINTS</a></td>
<td headers="wq2341"></td>
<td align="left" valign="top" headers="wq2342">Information about check constraints</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catcolumns">COLUMNS</a></td>
<td headers="wq2341">COLUMNS_S</td>
<td align="left" valign="top" headers="wq2342">Information about columns</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catinfoschema_catalog">INFORMATION_SCHEMA_CATALOG_NAME</a></td>
<td headers="wq2341">CATALOG_NAME</td>
<td align="left" valign="top" headers="wq2342">Information about the relational database</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catparameters">PARAMETERS</a></td>
<td headers="wq2341">PARAMETERS_S</td>
<td align="left" valign="top" headers="wq2342">Information about procedure parameters</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catreferential_constraints">REFERENTIAL_CONSTRAINTS</a></td>
<td headers="wq2341">REF_CONSTRAINTS</td>
<td align="left" valign="top" headers="wq2342">Information about referential constraints</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catroutines">ROUTINES</a></td>
<td headers="wq2341">ROUTINES_S</td>
<td align="left" valign="top" headers="wq2342">Information about routines</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catschemata">SCHEMATA</a></td>
<td headers="wq2341">SCHEMATA_S</td>
<td align="left" valign="top" headers="wq2342">Statistical information about schemas</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#cattable_constraints">TABLE_CONSTRAINTS</a></td>
<td headers="wq2341"></td>
<td align="left" valign="top" headers="wq2342">Information about constraints</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#cattables">TABLES</a></td>
<td headers="wq2341">TABLES_S</td>
<td align="left" valign="top" headers="wq2342">Information about tables</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catuser_defined_types">USER_DEFINED_TYPES</a></td>
<td headers="wq2341">UDT_S</td>
<td align="left" valign="top" headers="wq2342">Information about distinct types</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2340"><a href="rbafzmstcatalogans.htm#catviews">VIEWS</a></td>
<td headers="wq2341"></td>
<td align="left" valign="top" headers="wq2342">Information about views</td>
</tr>
</tbody>
</table>
<a name="catcharacter_sets"></a>
<h3 id="catcharacter_sets"><a href="rbafzmst02.htm#ToC_1558">CHARACTER_SETS</a></h3><a id="idx3566" name="idx3566"></a><a id="idx3567" name="idx3567"></a>
<p>The CHARACTER_SETS view contains one row for every CCSID supported. The
following table describes the columns in the view:</p>
<a name="anschrs"></a>
<table id="anschrs" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 153. CHARACTER_SETS view</caption>
<thead valign="bottom">
<tr>
<th id="wq2343" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2344" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2345" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2343">CHARACTER_SET_CATALOG</td>
<td align="left" valign="top" headers="wq2344">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2345">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2343">CHARACTER_SET_SCHEMA</td>
<td align="left" valign="top" headers="wq2344">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2345">The schema name of the character set. Contains
'SYSIBM'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2343">CHARACTER_SET_NAME</td>
<td align="left" valign="top" headers="wq2344">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2345">The character set name.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2343">FORM_OF_USE</td>
<td align="left" valign="top" headers="wq2344">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2345">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2343">NUMBER_OF_CHARACTERS</td>
<td align="left" valign="top" headers="wq2344">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2345">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2343">DEFAULT_COLLATE_CATALOG</td>
<td align="left" valign="top" headers="wq2344">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2345">Reserved. Contains the relational database
name.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2343">DEFAULT_COLLATE_SCHEMA</td>
<td align="left" valign="top" headers="wq2344">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2345">Reserved. Contains SYSIBM.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2343">DEFAULT_COLLATE_NAME</td>
<td align="left" valign="top" headers="wq2344">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2345">Reserved. Contains IBMDEFAULT.</td>
</tr>
</tbody>
</table>
<a name="catcheck_constraints"></a>
<h3 id="catcheck_constraints"><a href="rbafzmst02.htm#ToC_1559">CHECK_CONSTRAINTS</a></h3><a id="idx3568" name="idx3568"></a><a id="idx3569" name="idx3569"></a>
<p>The CHECK_CONSTRAINTS view contains one row for every check constraint.
The following table describes the columns in the view:</p>
<a name="anschrs1"></a>
<table id="anschrs1" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 154. CHECK_CONSTRAINTS view</caption>
<thead valign="bottom">
<tr>
<th id="wq2346" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2347" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2348" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2346">CONSTRAINT_CATALOG</td>
<td align="left" valign="top" headers="wq2347">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2348"> Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2346">CONSTRAINT_SCHEMA</td>
<td align="left" valign="top" headers="wq2347">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2348">Name of the schema containing the constraint</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2346">CONSTRAINT_NAME</td>
<td align="left" valign="top" headers="wq2347">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2348">Name of the constraint</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2346">CHECK_CLAUSE</td>
<td align="left" valign="top" headers="wq2347">VARCHAR(2000)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2348">Text of the check constraint clause
<p>Contains
the null value if the check clause cannot be contained in the column without
truncation.</p></td>
</tr>
</tbody>
</table>
<a name="catcolumns"></a>
<h3 id="catcolumns"><a href="rbafzmst02.htm#ToC_1560">COLUMNS</a></h3><a id="idx3570" name="idx3570"></a><a id="idx3571" name="idx3571"></a>
<p>The COLUMNS view contains one row for every column. The following table
describes the columns in the view:</p>
<a name="anscol"></a>
<table id="anscol" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 155. COLUMNS view</caption>
<thead valign="bottom">
<tr>
<th id="wq2349" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2350" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2351" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2349">TABLE_CATALOG</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2351">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">TABLE_SCHEMA</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2351">Name of the SQL schema containing the table
or view</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">TABLE_NAME</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2351">Name of the table or view that contains the
column</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">COLUMN_NAME</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2351">Name of the column</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">ORDINAL_POSITION</td>
<td align="left" valign="top" headers="wq2350">INTEGER</td>
<td align="left" valign="top" headers="wq2351">Numeric place of the column in the table
or view, ordered from left to right</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">COLUMN_DEFAULT</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(2000)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The default value of a column, if one exists.
If the default value of the column cannot be represented without truncation,
then the value of the column is the string 'TRUNCATED'. The default value
is stored in character form. The following special values also exist:
<dl>
<dt class="bold">CURRENT_DATE</dt>
<dd>The default value is the current date.
</dd>
<dt class="bold">CURRENT_TIME</dt>
<dd>The default value is the current time.
</dd>
<dt class="bold">CURRENT_TIMESTAMP</dt>
<dd>The default value is the current timestamp.
</dd>
<dt class="bold">NULL</dt>
<dd>The default value is the null value and DEFAULT NULL was explicitly
specified.
</dd>
<dt class="bold">USER</dt>
<dd>The default value is the current job user.
</dd>
</dl>
<p>Contains the null value if:</p>
<ul>
<li>The column has no default value. For example, if the column has an IDENTITY
attribute or is a row ID, or</li>
<li>A DEFAULT value was not explicitly specified.</li></ul></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">IS_NULLABLE</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(3)</td>
<td headers="wq2351">Indicates whether the column can contain null values:
<dl>
<dt class="bold">NO</dt>
<dd>The column cannot contain null values.
</dd>
<dt class="bold">YES</dt>
<dd>The column can contain null values.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">DATA_TYPE</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2351">Type of column:
<dl>
<dt class="bold">BIGINT</dt>
<dd>Big number
</dd>
<dt class="bold">INTEGER</dt>
<dd>Large number
</dd>
<dt class="bold">SMALLINT</dt>
<dd>Small number
</dd>
<dt class="bold">DECIMAL</dt>
<dd>Packed decimal
</dd>
<dt class="bold">NUMERIC</dt>
<dd>Zoned decimal
</dd>
<dt class="bold">DOUBLE PRECISION</dt>
<dd>Double-precision floating point
</dd>
<dt class="bold">REAL</dt>
<dd>Single-precision floating point
</dd>
<dt class="bold">CHARACTER</dt>
<dd>Fixed-length character string
</dd>
<dt class="bold">CHARACTER VARYING</dt>
<dd>Varying-length character string
</dd>
<dt class="bold">CHARACTER LARGE OBJECT</dt>
<dd>Character large object string
</dd>
<dt class="bold">GRAPHIC</dt>
<dd>Fixed-length graphic string
</dd>
<dt class="bold">GRAPHIC VARYING</dt>
<dd>Varying-length graphic string
</dd>
<dt class="bold">DOUBLE-BYTE CHARACTER LARGE OBJECT</dt>
<dd>Double-byte character large object string
</dd>
<dt class="bold">BINARY</dt>
<dd>Fixed-length binary string
</dd>
<dt class="bold">BINARY VARYING</dt>
<dd>Varying-length binary string
</dd>
<dt class="bold">BINARY LARGE OBJECT</dt>
<dd>Binary large object string
</dd>
<dt class="bold">DATE</dt>
<dd>Date
</dd>
<dt class="bold">TIME</dt>
<dd>Time
</dd>
<dt class="bold">TIMESTAMP</dt>
<dd>Timestamp
</dd>
<dt class="bold">DATALINK</dt>
<dd>Datalink
</dd>
<dt class="bold">ROWID</dt>
<dd>Row ID
</dd>
<dt class="bold">USER-DEFINED</dt>
<dd>Distinct type
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">CHARACTER_MAXIMUM_LENGTH</td>
<td align="left" valign="top" headers="wq2350">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Maximum length of the string for binary,
character and graphic string data types.
<p>Contains the null value if the
column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">CHARACTER_OCTET_LENGTH</td>
<td align="left" valign="top" headers="wq2350">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Number of bytes for binary, character and
graphic string data types.
<p>Contains the null value if the column is not
a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">NUMERIC_PRECISION</td>
<td align="left" valign="top" headers="wq2350">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The precision of all numeric columns.
<p></p>
<a name="wq2352"></a>
<div class="notetitle" id="wq2352">Note:</div>
<div class="notebody">This column supplies the precision of all numeric data types, including
single-and double-precision floating point. The NUMERIC_PRECISION_RADIX column
indicates if the value in this column is in binary or decimal digits.</div>
<p>Contains the null value if the column is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">NUMERIC_PRECISION_RADIX</td>
<td align="left" valign="top" headers="wq2350">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Indicates if the precision specified in column
NUMERIC_PRECISION is specified as a number of binary or decimal digits
<dl>
<dt class="bold">2</dt>
<dd>Binary; floating-point precision is specified in binary digits.
</dd>
<dt class="bold">10</dt>
<dd>Decimal; all other numeric types are specified in decimal digits.
</dd>
</dl>
<p>Contains the null value if the column is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">NUMERIC_SCALE</td>
<td align="left" valign="top" headers="wq2350">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Scale of numeric data.
<p>Contains the null
value if the column is not decimal, numeric, or binary.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">DATETIME_PRECISION</td>
<td align="left" valign="top" headers="wq2350">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The fractional part of a date, time, or timestamp.
<dl>
<dt class="bold">0</dt>
<dd>For DATE and TIME data types
</dd>
<dt class="bold">6</dt>
<dd>For TIMESTAMP data types (number of microseconds).
</dd>
</dl>
<p>Contains the null value if the column is not a date, time, or timestamp.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">INTERVAL_TYPE</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">INTERVAL_PRECISION</td>
<td align="left" valign="top" headers="wq2350">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">CHARACTER_SET_CATALOG</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Relational database name
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">CHARACTER_SET_SCHEMA</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The schema name of the character set. Contains
SYSIBM.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">CHARACTER_SET_NAME</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The character set name.
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">COLLATION_CATALOG</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Relational database name
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">COLLATION_SCHEMA</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The schema of the collation. Contains SYSIBM.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">COLLATION_NAME</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The collation name. Contains IBMBINARY.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">DOMAIN_CATALOG</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">DOMAIN_SCHEMA</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">DOMAIN_NAME</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">UDT_CATALOG</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The relational database name if this is a distinct type.
<p>Contains the null value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">UDT_SCHEMA</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The name of the schema if this is a distinct type.
<p>Contains the null value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">UDT_NAME</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">The name of the distinct type.
<p>Contains the null
value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">SCOPE_CATALOG</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">SCOPE_SCHEMA</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">SCOPE_NAME</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">MAXIMUM_CARDINALITY</td>
<td align="left" valign="top" headers="wq2350">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">DTD_IDENTIFIER</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2351">A unique internal identifier for the column.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2349">IS_SELF_REFERENCING</td>
<td align="left" valign="top" headers="wq2350">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2351">Reserved. Contains 'NO'.</td>
</tr>
</tbody>
</table>
<a name="catinfoschema_catalog"></a>
<h3 id="catinfoschema_catalog"><a href="rbafzmst02.htm#ToC_1561">INFORMATION_SCHEMA_CATALOG_NAME</a></h3><a id="idx3572" name="idx3572"></a><a id="idx3573" name="idx3573"></a>
<p>The INFORMATION_SCHEMA_CATALOG_NAME view contains one row for the relational
database. The following table describes the columns in the view:</p>
<a name="ansinfo"></a>
<table id="ansinfo" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 156. INFORMATION_SCHEMA_CATALOG_NAME view</caption>
<thead valign="bottom">
<tr>
<th id="wq2353" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2354" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2355" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2353">CATALOG_NAME</td>
<td align="left" valign="top" headers="wq2354">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2355">Relational database name</td>
</tr>
</tbody>
</table>
<a name="catparameters"></a>
<h3 id="catparameters"><a href="rbafzmst02.htm#ToC_1562">PARAMETERS</a></h3><a id="idx3574" name="idx3574"></a><a id="idx3575" name="idx3575"></a>
<p>The PARAMETERS view contains one row for each parameter of a routine in
the relational database. The following table describes the columns in the
view:</p>
<a name="ansparm"></a>
<table id="ansparm" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 157. PARAMETERS view</caption>
<thead valign="bottom">
<tr>
<th id="wq2356" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2357" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2358" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2356">SPECIFIC_CATALOG</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2358">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">SPECIFIC_SCHEMA</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2358">Schema name of the routine instance</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">SPECIFIC_NAME</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2358">Specific name of the routine instance</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">ORDINAL_POSITION</td>
<td align="left" valign="top" headers="wq2357">INTEGER</td>
<td align="left" valign="top" headers="wq2358">Numeric place of the parameter in the parameter
list, ordered from left to right.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">PARAMETER_MODE</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(5)</td>
<td headers="wq2358">The type of the parameter:
<dl>
<dt class="bold">IN</dt>
<dd>This is an input parameter.
</dd>
<dt class="bold">OUT</dt>
<dd>This is an output parameter.
</dd>
<dt class="bold">INOUT</dt>
<dd>This is an input/output parameter.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">IS_RESULT</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains 'NO'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">AS_LOCATOR</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2358">Indicates whether the parameter was specified
as a locator.
<dl>
<dt class="bold">NO</dt>
<dd>The parameter was not specified as a locator.
</dd>
<dt class="bold">YES</dt>
<dd>The parameter was specified as a locator.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">PARAMETER_NAME</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The name of the parameter
<p>Contains the
null value if the parameter does not have a name.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">FROM_SQL_SPECIFIC_CATALOG</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">FROM_SQL_SPECIFIC_SCHEMA</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">FROM_SQL_SPECIFIC_NAME</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">TO_SQL_SPECIFIC_CATALOG</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">TO_SQL_SPECIFIC_SCHEMA</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">TO_SQL_SPECIFIC_NAME</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">DATA_TYPE</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Type of the parameter:
<dl>
<dt class="bold">BIGINT</dt>
<dd>Big number
</dd>
<dt class="bold">INTEGER</dt>
<dd>Large number
</dd>
<dt class="bold">SMALLINT</dt>
<dd>Small number
</dd>
<dt class="bold">DECIMAL</dt>
<dd>Packed decimal
</dd>
<dt class="bold">NUMERIC</dt>
<dd>Zoned decimal
</dd>
<dt class="bold">DOUBLE PRECISION</dt>
<dd>Floating point; DOUBLE PRECISION
</dd>
<dt class="bold">REAL</dt>
<dd>Floating point; REAL
</dd>
<dt class="bold">CHARACTER</dt>
<dd>Fixed-length character string
</dd>
<dt class="bold">CHARACTER VARYING</dt>
<dd>Varying-length character string
</dd>
<dt class="bold">CHARACTER LARGE OBJECT</dt>
<dd>Character large object string
</dd>
<dt class="bold">GRAPHIC</dt>
<dd>Fixed-length graphic string
</dd>
<dt class="bold">GRAPHIC VARYING</dt>
<dd>Varying-length graphic string
</dd>
<dt class="bold">DOUBLE-BYTE CHARACTER LARGE OBJECT</dt>
<dd>Double-byte character large object string
</dd>
<dt class="bold">BINARY</dt>
<dd>Fixed-length binary string
</dd>
<dt class="bold">BINARY VARYING</dt>
<dd>Varying-length binary string
</dd>
<dt class="bold">BINARY LARGE OBJECT</dt>
<dd>Binary large object string
</dd>
<dt class="bold">DATE</dt>
<dd>Date
</dd>
<dt class="bold">TIME</dt>
<dd>Time
</dd>
<dt class="bold">TIMESTAMP</dt>
<dd>Timestamp
</dd>
<dt class="bold">DATALINK</dt>
<dd>Datalink
</dd>
<dt class="bold">ROWID</dt>
<dd>Row ID
</dd>
<dt class="bold">USER-DEFINED</dt>
<dd>Distinct Type
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">CHARACTER_MAXIMUM_LENGTH</td>
<td align="left" valign="top" headers="wq2357">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Maximum length of the string for binary,
character, and graphic string data types.
<p>Contains the null value if the
parameter is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">CHARACTER_OCTET_LENGTH</td>
<td align="left" valign="top" headers="wq2357">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Number of bytes for binary, character, and
graphic string data types.
<p>Contains the null value if the parameter is
not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">CHARACTER_SET_CATALOG</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Relational database name
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">CHARACTER_SET_SCHEMA</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The schema name of the character set. Contains
'SYSIBM'.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">CHARACTER_SET_NAME</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The character set name.
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">COLLATION_CATALOG</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Relational database name
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">COLLATION_SCHEMA</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The schema of the collation. SYSIBM is returned.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">COLLATION_NAME</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The collation name. IBMBINARY is returned.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">NUMERIC_PRECISION</td>
<td align="left" valign="top" headers="wq2357">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The precision of all numeric parameters.
<p></p>
<a name="wq2359"></a>
<div class="notetitle" id="wq2359">Note:</div>
<div class="notebody">This column supplies the precision of all numeric data types, including
single-and double-precision floating point. The NUMERIC_PRECISION_RADIX column
indicates if the value in this column is in binary or decimal digits.</div>
<p>Contains the null value if the parameter is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">NUMERIC_PRECISION_RADIX</td>
<td align="left" valign="top" headers="wq2357">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Indicates if the precision specified in column
NUMERIC_PRECISION is specified as a number of binary or decimal digits:
<dl>
<dt class="bold">2</dt>
<dd>Binary; floating-point precision is specified in binary digits.
</dd>
<dt class="bold">10</dt>
<dd>Decimal; all other numeric types are specified in decimal digits.
</dd>
</dl>
<p>Contains the null value if the parameter is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">NUMERIC_SCALE</td>
<td align="left" valign="top" headers="wq2357">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Scale of numeric data.
<p>Contains the null
value if not decimal, numeric, or binary parameter.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">DATETIME_PRECISION</td>
<td align="left" valign="top" headers="wq2357">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The fractional part of a date, time, or timestamp.
<dl>
<dt class="bold">0</dt>
<dd>For DATE and TIME data types
</dd>
<dt class="bold">6</dt>
<dd>For TIMESTAMP data types (number of microseconds).
</dd>
</dl>
<p>Contains the null value if the parameter is not a date, time, or timestamp.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">INTERVAL_TYPE</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">INTERVAL_PRECISION</td>
<td align="left" valign="top" headers="wq2357">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">UDT_CATALOG</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The relational database name if this is a distinct type.
<p>Contains the null value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">UDT_SCHEMA</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The name of the schema if this is a distinct type.
<p>Contains the null value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">UDT_NAME</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">The name of the distinct type.
<p>Contains the null
value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">SCOPE_CATALOG</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">SCOPE_SCHEMA</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">SCOPE_NAME</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">MAXIMUM_CARDINALITY</td>
<td align="left" valign="top" headers="wq2357">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2356">DTD_IDENTIFIER</td>
<td align="left" valign="top" headers="wq2357">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2358">A unique internal identifier for the parameter.</td>
</tr>
</tbody>
</table>
<a name="catreferential_constraints"></a>
<h3 id="catreferential_constraints"><a href="rbafzmst02.htm#ToC_1563">REFERENTIAL_CONSTRAINTS</a></h3><a id="idx3576" name="idx3576"></a><a id="idx3577" name="idx3577"></a>
<p>The REFERENTIAL_CONSTRAINTS view contains one row for each referential
constraint. The following table describes the columns in the view:</p>
<a name="ansrefc"></a>
<table id="ansrefc" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 158. REFERENTIAL_CONSTRAINTS view</caption>
<thead valign="bottom">
<tr>
<th id="wq2360" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2361" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2362" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2360">CONSTRAINT_CATALOG</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2362">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2360">CONSTRAINT_SCHEMA</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2362">Name of the schema containing the constraint.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2360">CONSTRAINT_NAME</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2362">Name of the constraint.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2360">UNIQUE_CONSTRAINT_CATALOG</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2362">Relational database name containing the unique
constraint referenced by the referential constraint.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2360">UNIQUE_CONSTRAINT_SCHEMA</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2362">Name of the SQL schema containing the unique
constraint referenced by the referential constraint.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2360">UNIQUE_CONSTRAINT_NAME</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2362">Name of the unique constraint referenced
by the referential constraint.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2360">MATCH_OPTION</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(7)</td>
<td align="left" valign="top" headers="wq2362">Reserved. Contains 'NONE'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2360">UPDATE_RULE</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(11)</td>
<td align="left" valign="top" headers="wq2362">Update Rule.
<ul>
<li>NO ACTION</li>
<li>RESTRICT</li></ul></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2360">DELETE_RULE</td>
<td align="left" valign="top" headers="wq2361">VARCHAR(11)</td>
<td headers="wq2362">Delete Rule
<ul>
<li>NO ACTION</li>
<li>CASCADE</li>
<li>SET NULL</li>
<li>SET DEFAULT</li>
<li>RESTRICT</li></ul></td>
</tr>
<tr>
<td headers="wq2360">COLUMN_COUNT</td>
<td headers="wq2361">INTEGER</td>
<td headers="wq2362">Count of columns in the constraint.</td>
</tr>
</tbody>
</table>
<a name="catroutines"></a>
<h3 id="catroutines"><a href="rbafzmst02.htm#ToC_1564">ROUTINES</a></h3><a id="idx3578" name="idx3578"></a><a id="idx3579" name="idx3579"></a>
<p>The ROUTINES view contains one row for each routine. The following table
describes the columns in the view:</p>
<a name="ansrtn"></a>
<table id="ansrtn" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 159. ROUTINES view</caption>
<thead valign="bottom">
<tr>
<th id="wq2363" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2364" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2365" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2363">SPECIFIC_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2365">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SPECIFIC_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2365">Schema name of the routine instance.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SPECIFIC_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2365">Specific name of the routine.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">ROUTINE_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2365">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">ROUTINE_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2365">Name of the SQL schema that contains the
routine.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">ROUTINE_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2365">Name of the routine.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">ROUTINE_TYPE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(15)</td>
<td align="left" valign="top" headers="wq2365">Type of the routine.
<dl>
<dt class="bold">PROCEDURE</dt>
<dd>This is a procedure.
</dd>
<dt class="bold">FUNCTION</dt>
<dd>This is a function.
</dd>
<dt class="bold">INSTANCE METHOD</dt>
<dd>This is a built-in data type function created for a distinct type.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">MODULE_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">MODULE_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">MODULE_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">UDT_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Relational database name.
<p>Contains the
null value if this is not an INSTANCE METHOD.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">UDT_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Name of the SQL schema that contains the
distinct type related to this function.
<p>Contains the null value if this
is not an INSTANCE METHOD.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">UDT_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Name of the distinct type name related to
this function.
<p>Contains the null value if this is not an INSTANCE METHOD.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">DATA_TYPE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Type of the result of the function:
<dl>
<dt class="bold">BIGINT</dt>
<dd>Big number
</dd>
<dt class="bold">INTEGER</dt>
<dd>Large number
</dd>
<dt class="bold">SMALLINT</dt>
<dd>Small number
</dd>
<dt class="bold">DECIMAL</dt>
<dd>Packed decimal
</dd>
<dt class="bold">NUMERIC</dt>
<dd>Zoned decimal
</dd>
<dt class="bold">DOUBLE PRECISION</dt>
<dd>Floating point; DOUBLE PRECISION
</dd>
<dt class="bold">REAL</dt>
<dd>Floating point; REAL
</dd>
<dt class="bold">CHARACTER</dt>
<dd>Fixed-length character string
</dd>
<dt class="bold">CHARACTER VARYING</dt>
<dd>Varying-length character string
</dd>
<dt class="bold">CHARACTER LARGE OBJECT</dt>
<dd>Character large object string
</dd>
<dt class="bold">GRAPHIC</dt>
<dd>Fixed-length graphic string
</dd>
<dt class="bold">GRAPHIC VARYING</dt>
<dd>Varying-length graphic string
</dd>
<dt class="bold">DOUBLE-BYTE CHARACTER LARGE OBJECT</dt>
<dd>Double-byte character large object string
</dd>
<dt class="bold">BINARY</dt>
<dd>Fixed-length binary string
</dd>
<dt class="bold">BINARY VARYING</dt>
<dd>Varying-length binary string
</dd>
<dt class="bold">BINARY LARGE OBJECT</dt>
<dd>Binary large object string
</dd>
<dt class="bold">DATE</dt>
<dd>Date
</dd>
<dt class="bold">TIME</dt>
<dd>Time
</dd>
<dt class="bold">TIMESTAMP</dt>
<dd>Timestamp
</dd>
<dt class="bold">DATALINK</dt>
<dd>Datalink
</dd>
<dt class="bold">ROWID</dt>
<dd>Row ID
</dd>
<dt class="bold">USER-DEFINED</dt>
<dd>Distinct Type
</dd>
</dl>
<p>Contains the null value if this is not a scalar function.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">CHARACTER_MAXIMUM_LENGTH</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Maximum length of the result string of the
function for binary, character, and graphic string data types.
<p>Contains
the null value if this is not a scalar function or the parameter is not a
string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">CHARACTER_OCTET_LENGTH</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Number of bytes for the result string of
the function for binary, character, and graphic string data types.
<p>Contains
the null value if this is not a scalar function or the parameter is not a
string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">CHARACTER_SET_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Relational database name of the result of
the function.
<p>Contains the null value if this is not a scalar function or
the result is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">CHARACTER_SET_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The schema name of the character set of the
result of the function. Contains 'SYSIBM'.
<p>Contains the null value if this
is not a scalar function or the result is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">CHARACTER_SET_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The character set name of the result of the
function.
<p>Contains the null value if this is not a scalar function or the
result is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">COLLATION_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Relational database name of the result of
the function.
<p>Contains the null value if this is not a scalar function or
the result is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">COLLATION_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The schema of the collation of the result
of the function. SYSIBM is returned.
<p>Contains the null value if this is
not a scalar function or the result is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">COLLATION_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The collation name of the result of the function.
IBMBINARY is returned.
<p>Contains the null value if this is not a scalar function
or the result is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">NUMERIC_PRECISION</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The precision of the result of the function.
<p></p>
<a name="wq2366"></a>
<div class="notetitle" id="wq2366">Note:</div>
<div class="notebody">This column supplies the precision of all numeric data types, including
single-and double-precision floating point. The NUMERIC_PRECISION_RADIX column
indicates if the value in this column is in binary or decimal digits.</div>
<p>Contains the null value if this is not a scalar function or
the result is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">NUMERIC_PRECISION_RADIX</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Indicates if the precision specified in column
NUMERIC_PRECISION is specified as a number of binary or decimal digits:
<dl>
<dt class="bold">2</dt>
<dd>Binary; floating-point precision is specified in binary digits.
</dd>
<dt class="bold">10</dt>
<dd>Decimal; all other numeric types are specified in decimal digits.
</dd>
</dl>
<p>Contains the null value if this is not a scalar function or the result
is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">NUMERIC_SCALE</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Scale of numeric result of the function.
<p>Contains the null value if this is not a scalar function or the result is
not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">DATETIME_PRECISION</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The fractional part of a date, time, or timestamp
result of the function.
<dl>
<dt class="bold">0</dt>
<dd>For DATE and TIME data types
</dd>
<dt class="bold">6</dt>
<dd>For TIMESTAMP data types (number of microseconds).
</dd>
</dl>
<p>Contains the null value if this is not a scalar function or the result
is not a date, time, or timestamp.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">INTERVAL_TYPE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">INTERVAL_PRECISION</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">TYPE_UDT_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The relational database name if the result
of the function is a distinct type.
<p>Contains the null value if this is not a scalar
function or the result is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">TYPE_UDT_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The name of the schema if the result of the
function is a distinct type.
<p>Contains the null value if this is not a scalar function
or the result is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">TYPE_UDT_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The name of the distinct type if the result of the
function is a distinct type.
<p>Contains the null value if this is not a scalar function
or the result is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SCOPE_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SCOPE_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SCOPE_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">MAXIMUM_CARDINALITY</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">DTD_IDENTIFIER</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">A unique internal identifier for the result
of the function.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">ROUTINE_BODY</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(8)</td>
<td align="left" valign="top" headers="wq2365">The type of the routine body:
<dl>
<dt class="bold">EXTERNAL</dt>
<dd>This is an external routine.
</dd>
<dt class="bold">SQL</dt>
<dd>This is an SQL routine.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">ROUTINE_DEFINITION</td>
<td align="left" valign="top" headers="wq2364">DBCLOB(2M) CCSID 13488
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">If this is an SQL routine, this column contains
the SQL routine body.
<p>Contains the null value if this is not an SQL routine
or if the routine body cannot be contained in this column without truncation.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">EXTERNAL_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(279)
<div class="lines">Nullable<br />
</div></td>
<td headers="wq2365">If this is an external routine, this column identifies the external
program name.
<ul>
<li>For REXX, the external program name is <span class="italic">schema-name/source-file-name(member-name)</span>.</li>
<li>For ILE service programs, the external program name is <span class="italic">schema-name/service-program-name(entry-point-name)</span>.</li>
<li>For Java&trade; programs, the external program name is an optional
jar-id followed by a <span class="italic">fully-qualified-class-name!method-name</span> or <span class="italic">fully-qualified-class-name.method-name</span>.</li>
<li>For all other languages, the external program name is <span class="italic">schema-name/program-name</span>.</li></ul>
<p>Contains the null value if this is a system-generated function or
a function sourced on a built-in function.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">EXTERNAL_LANGUAGE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(8)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">If this is an external routine, this column
identifies the external program name.
<dl>
<dt class="bold">C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</dt>
<dd>The external program is written in C.
</dd>
<dt class="bold">C++&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</dt>
<dd>The external program is written in C++.
</dd>
<dt class="bold">CL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</dt>
<dd>The external program is written in CL.
</dd>
<dt class="bold">COBOL&nbsp;&nbsp;</dt>
<dd>The external program is written in COBOL.
</dd>
<dt class="bold">COBOLLE</dt>
<dd>The external program is written in ILE COBOL.
</dd>
<dt class="bold">FORTRAN</dt>
<dd>The external program is written in FORTRAN.
</dd>
<dt class="bold">JAVA</dt>
<dd>The external program is written in JAVA.
</dd>
<dt class="bold">PLI&nbsp;&nbsp;&nbsp;&nbsp;</dt>
<dd>The external program is written in PL/I.
</dd>
<dt class="bold">REXX&nbsp;&nbsp;&nbsp;</dt>
<dd>The external program is a REXX procedure.
</dd>
<dt class="bold">RPG&nbsp;&nbsp;&nbsp;&nbsp;</dt>
<dd>The external program is written in RPG.
</dd>
<dt class="bold">RPGLE&nbsp;&nbsp;</dt>
<dd>The external program is written in ILE RPG.
</dd>
</dl>
<p>Contains the null value if this is not an external routine.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">PARAMETER_STYLE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(18)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">If this is an external routine, this column
identifies the parameter style (calling convention).
<dl>
<dt class="bold">DB2GENERAL</dt>
<dd>This is the DB2GENERAL calling convention.
</dd>
<dt class="bold">DB2SQL</dt>
<dd>This is the DB2SQL calling convention.
</dd>
<dt class="bold">GENERAL</dt>
<dd>This is the GENERAL calling convention.
</dd>
<dt class="bold">JAVA</dt>
<dd>This is the JAVA calling convention.
</dd>
<dt class="bold">GENERAL WITH NULLS</dt>
<dd>This is the GENERAL WITH NULLS calling convention.
</dd>
<dt class="bold">SQL</dt>
<dd>This is the SQL standard calling convention.
</dd>
</dl>
<p>Contains the null value if this is not an external routine.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">IS_DETERMINISTIC</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2365">This column identifies whether the routine
is deterministic. That is, whether a call to the routine with the same arguments
will always return the same result.
<dl>
<dt class="bold">NO</dt>
<dd>The routine is not deterministic.
</dd>
<dt class="bold">YES</dt>
<dd>The routine is deterministic.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SQL_DATA_ACCESS</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(17)</td>
<td align="left" valign="top" headers="wq2365">This column identifies whether a routine
contains SQL and whether it reads or modifies data.
<dl>
<dt class="bold">NO SQL</dt>
<dd>The routine does not contain any SQL statements.
</dd>
<dt class="bold">CONTAINS SQL</dt>
<dd>The routine contains SQL statements.
</dd>
<dt class="bold">READS SQL DATA</dt>
<dd>The routine possibly reads data from a table or view.
</dd>
<dt class="bold">MODIFIES SQL DATA</dt>
<dd>The routine possibly modifies data in a table or view or issues SQL
DDL statements.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">IS_NULL_CALL</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)
<div class="lines">Nullable<br />
</div></td>
<td headers="wq2365">Identifies whether the function needs to be called if an input parameter
is the null value.
<dl>
<dt class="bold">NO</dt>
<dd>This function need not be called if an input parameter is the null value.
If this is a scalar function, the result of the function is implicitly null
if any of the operands are null. If this is a table function, the result of
the function is an empty table if any of the operands are the null value.
</dd>
<dt class="bold">YES</dt>
<dd>This function must be called even if an input operand is null.
</dd>
</dl>
<p>Contains the null value if this is not a function.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SQL_PATH</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3483)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">If this is an SQL routine, this column identifies
the path.
<p>Contains the null value if this is not an SQL routine.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SCHEMA_LEVEL_ROUTINE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains 'YES'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">MAX_DYNAMIC_RESULT_SETS</td>
<td align="left" valign="top" headers="wq2364">SMALLINT</td>
<td align="left" valign="top" headers="wq2365">Identifies the maximum number of result sets
returned. 0 indicates that there are no result sets.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">IS_USER_DEFINED_CAST</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Identifies whether the this function is a
cast function created when a distinct type was created.
<dl>
<dt class="bold">NO</dt>
<dd>This function is not a cast function.
</dd>
<dt class="bold">YES</dt>
<dd>This function is a cast function.
</dd>
</dl>
<p>Contains the null value if the routine is not a function.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">IS_IMPLICITLY_INVOCABLE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Identifies whether the this function is a
cast function created when a distinct type was created and can be implicitly invoked.
<dl>
<dt class="bold">NO</dt>
<dd>This function is not a cast function.
</dd>
<dt class="bold">YES</dt>
<dd>This function is a cast function and can be implicitly invoked.
</dd>
</dl>
<p>Contains the null value if the routine is not a function.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">SECURITY_TYPE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(22)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains 'IMPLEMENTATION DEFINED'
if this is an external routine.
<p>Contains the null value if the routine is
not an external routine.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">TO_SQL_SPECIFIC_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">TO_SQL_SPECIFIC_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">TO_SQL_SPECIFIC_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">AS_LOCATOR</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Indicates whether the result was specified
as a locator.
<dl>
<dt class="bold">NO</dt>
<dd>The parameter was not specified as a locator.
</dd>
<dt class="bold">YES</dt>
<dd>The parameter was specified as a locator.
</dd>
</dl>
<p>Contains the null value if this is not a scalar function.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">CREATED</td>
<td align="left" valign="top" headers="wq2364">TIMESTAMP</td>
<td align="left" valign="top" headers="wq2365">Identifies the timestamp when the routine
was created.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">LAST_ALTERED</td>
<td align="left" valign="top" headers="wq2364">TIMESTAMP
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains 'CREATED'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">NEW_SAVEPOINT_LEVEL</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Indicates whether the routine starts a new
savepoint level.
<dl>
<dt class="bold">NO</dt>
<dd>A new savepoint level is not started when the procedure is called.
</dd>
<dt class="bold">YES</dt>
<dd>A new savepoint level is started when the procedure is called.
</dd>
</dl>
<p>Contains the null value if this is not a function.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">IS_UDT_DEPENDENT</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2365">Indicates whether the routine is dependent
on a UDT.
<dl>
<dt class="bold">NO</dt>
<dd>The routine is not dependent on a UDT.
</dd>
<dt class="bold">YES</dt>
<dd>The routine is dependent on a UDT.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_FROM_DATA_TYPE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Type of the parameter:
<dl>
<dt class="bold">BIGINT</dt>
<dd>Big number
</dd>
<dt class="bold">INTEGER</dt>
<dd>Large number
</dd>
<dt class="bold">SMALLINT</dt>
<dd>Small number
</dd>
<dt class="bold">DECIMAL</dt>
<dd>Packed decimal
</dd>
<dt class="bold">NUMERIC</dt>
<dd>Zoned decimal
</dd>
<dt class="bold">DOUBLE PRECISION</dt>
<dd>Floating point; DOUBLE PRECISION
</dd>
<dt class="bold">REAL</dt>
<dd>Floating point; REAL
</dd>
<dt class="bold">CHARACTER</dt>
<dd>Fixed-length character string
</dd>
<dt class="bold">CHARACTER VARYING</dt>
<dd>Varying-length character string
</dd>
<dt class="bold">CHARACTER LARGE OBJECT</dt>
<dd>Character large object string
</dd>
<dt class="bold">GRAPHIC</dt>
<dd>Fixed-length graphic string
</dd>
<dt class="bold">GRAPHIC VARYING</dt>
<dd>Varying-length graphic string
</dd>
<dt class="bold">DOUBLE-BYTE CHARACTER LARGE OBJECT</dt>
<dd>Double-byte character large object string
</dd>
<dt class="bold">BINARY</dt>
<dd>Fixed-length binary string
</dd>
<dt class="bold">BINARY VARYING</dt>
<dd>Varying-length binary string
</dd>
<dt class="bold">BINARY LARGE OBJECT</dt>
<dd>Binary large object string
</dd>
<dt class="bold">DATE</dt>
<dd>Date
</dd>
<dt class="bold">TIME</dt>
<dd>Time
</dd>
<dt class="bold">TIMESTAMP</dt>
<dd>Timestamp
</dd>
<dt class="bold">DATALINK</dt>
<dd>Datalink
</dd>
<dt class="bold">ROWID</dt>
<dd>Row ID
</dd>
<dt class="bold">USER-DEFINED</dt>
<dd>Distinct Type
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_AS_LOCATOR</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(3)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Indicates whether the result is cast from
a locator.
<dl>
<dt class="bold">NO</dt>
<dd>The result is not cast from a locator.
</dd>
<dt class="bold">YES</dt>
<dd>The result is cast from a locator.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_CHAR_MAX_LENGTH</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Maximum length of the string for binary,
character, and graphic string data types.
<p>Contains the null value if the
parameter is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_CHAR_OCTET_LENGTH</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Number of bytes for binary, character, and
graphic string data types.
<p>Contains the null value if the parameter is
not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_CHAR_SET_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Relational database name
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_CHAR_SET_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The schema name of the character set. Contains
'SYSIBM'.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_CHAR_SET_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The character set name.
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_COLLATION_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Relational database name
<p>Contains the null
value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_COLLATION_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The schema of the collation. SYSIBM is returned.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_COLLATION_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The collation name. IBMBINARY is returned.
<p>Contains the null value if the column is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_NUMERIC_PRECISION</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The precision of all numeric parameters.
<p></p>
<a name="wq2367"></a>
<div class="notetitle" id="wq2367">Note:</div>
<div class="notebody">This column supplies the precision of all numeric data types, including
single-and double-precision floating point. The NUMERIC_PRECISION_RADIX column
indicates if the value in this column is in binary or decimal digits.</div>
<p>Contains the null value if the parameter is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_NUMERIC_RADIX</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Indicates if the precision specified in column
NUMERIC_PRECISION is specified as a number of binary or decimal digits:
<dl>
<dt class="bold">2</dt>
<dd>Binary; floating-point precision is specified in binary digits.
</dd>
<dt class="bold">10</dt>
<dd>Decimal; all other numeric types are specified in decimal digits.
</dd>
</dl>
<p>Contains the null value if the parameter is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_NUMERIC_SCALE</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Scale of numeric data.
<p>Contains the null
value if not decimal, numeric, or binary parameter.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_DATETIME_PRECISION</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The fractional part of a date, time, or timestamp.
<dl>
<dt class="bold">0</dt>
<dd>For DATE and TIME data types
</dd>
<dt class="bold">6</dt>
<dd>For TIMESTAMP data types (number of microseconds).
</dd>
</dl>
<p>Contains the null value if the parameter is not a date, time, or timestamp.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_INTERVAL_TYPE</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_INTERVAL_PRECISION</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_TYPE_UDT_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The relational database name if this is a distinct type.
<p>Contains the null value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_TYPE_UDT_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The name of the schema if this is a distinct type.
<p>Contains the null value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_TYPE_UDT_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">The name of the distinct type.
<p>Contains the null
value if this is not a distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_SCOPE_CATALOG</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_SCOPE_SCHEMA</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_SCOPE_NAME</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_MAX_CARDINALITY</td>
<td align="left" valign="top" headers="wq2364">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2363">RESULT_CAST_DTD_IDENTIFIER</td>
<td align="left" valign="top" headers="wq2364">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2365">A unique internal identifier for the parameter.</td>
</tr>
</tbody>
</table>
<a name="catschemata"></a>
<h3 id="catschemata"><a href="rbafzmst02.htm#ToC_1565">SCHEMATA</a></h3><a id="idx3580" name="idx3580"></a><a id="idx3581" name="idx3581"></a>
<p>The SCHEMATA view contains one row for each schema. The following table
describes the columns in the view:</p>
<a name="anssche"></a>
<table id="anssche" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 160. SCHEMATA view</caption>
<thead valign="bottom">
<tr>
<th id="wq2368" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2369" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2370" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2368">CATALOG_NAME</td>
<td align="left" valign="top" headers="wq2369">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2370">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2368">SCHEMA_NAME</td>
<td align="left" valign="top" headers="wq2369">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2370">Name of the schema</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2368">SCHEMA_OWNER</td>
<td align="left" valign="top" headers="wq2369">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2370">Owner of the schema</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2368">DEFAULT_CHARACTER_SET_CATALOG</td>
<td align="left" valign="top" headers="wq2369">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2370">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2368">DEFAULT_CHARACTER_SET_SCHEMA</td>
<td align="left" valign="top" headers="wq2369">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2370">The schema name of the default character
set. Contains 'SYSIBM'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2368">DEFAULT_CHARACTER_SET_NAME</td>
<td align="left" valign="top" headers="wq2369">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2370">The default character set name.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2368">SQL_PATH</td>
<td align="left" valign="top" headers="wq2369">VARCHAR(4096)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2370">Reserved. Contains the null value.</td>
</tr>
</tbody>
</table>
<a name="catsql_features"></a>
<h3 id="catsql_features"><a href="rbafzmst02.htm#ToC_1566">SQL_FEATURES</a></h3><a id="idx3582" name="idx3582"></a><a id="idx3583" name="idx3583"></a>
<p>The SQL_FEATURES table contains one row for each feature supported
by the database manager. The following table describes the columns in the
table:</p>
<a name="ansfeat"></a>
<table id="ansfeat" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 161. SQL_FEATURES table</caption>
<thead valign="bottom">
<tr>
<th id="wq2371" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2372" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2373" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2371">FEATURE_ID</td>
<td align="left" valign="top" headers="wq2372">VARCHAR(7)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2373">ANS and ISO feature ID</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2371">FEATURE_NAME</td>
<td align="left" valign="top" headers="wq2372">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2373">The name of the ANS and ISO feature.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2371">SUB_FEATURE_ID</td>
<td align="left" valign="top" headers="wq2372">VARCHAR(7)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2373">ANS and ISO subfeature ID</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2371">SUB_FEATURE_NAME</td>
<td align="left" valign="top" headers="wq2372">VARCHAR(256)</td>
<td align="left" valign="top" headers="wq2373">The name of the ANS and ISO subfeature.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2371">IS_SUPPORTED</td>
<td align="left" valign="top" headers="wq2372">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2373">Indicates whether the feature is supported:
<dl>
<dt class="bold">YES</dt>
<dd>This feature is supported.
</dd>
<dt class="bold">NO</dt>
<dd>This feature is not supported.
</dd>
<dt class="bold"></dt>
<dd>
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2371">IS_VERIFIED_BY</td>
<td align="left" valign="top" headers="wq2372">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2373">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2371">COMMENTS</td>
<td align="left" valign="top" headers="wq2372">VARCHAR(2000)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2373">Reserved. Contains the null value.</td>
</tr>
</tbody>
</table>
<a name="catsql_lang"></a>
<h3 id="catsql_lang"><a href="rbafzmst02.htm#ToC_1567">SQL_LANGUAGES</a></h3><a id="idx3584" name="idx3584"></a><a id="idx3585" name="idx3585"></a>
<p>The SQL_LANGUAGES table contains one row for every SQL language
binding and programming language for which conformance is claimed. The following
table describes the columns in the SQL_LANGUAGES table:</p>
<a name="anslang"></a>
<table id="anslang" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 162. SQL_LANGUAGES table</caption>
<thead valign="bottom">
<tr>
<th id="wq2374" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2375" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2376" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2374">SQL_LANGUAGE_SOURCE</td>
<td align="left" valign="top" headers="wq2375">VARCHAR(254)</td>
<td align="left" valign="top" headers="wq2376">Name of the standard.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2374">SQL_LANGUAGE_YEAR</td>
<td align="left" valign="top" headers="wq2375">
<div class="lines">VARCHAR(254)<br />
</div></td>
<td align="left" valign="top" headers="wq2376">Year in which the standard was approved.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2374">SQL_LANGUAGE_CONFORMANCE</td>
<td align="left" valign="top" headers="wq2375">
<div class="lines">VARCHAR(254)<br />
</div>
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2376">Level of conformance.
<dl>
<dt class="bold">2</dt>
<dd>For the 1987 and 1989 standards, indicates that Level 2 conformance
is claimed.
</dd>
<dt class="bold">ENTRY</dt>
<dd>For the 1992 standard, indicates that Entry Level conformance is claimed.
</dd>
<dt class="bold">CORE</dt>
<dd>For the 1999 standard, indicates that Core Level is conformance is claimed.
</dd>
</dl>
<p>Contains the null value if conformance is not yet claimed.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2374">SQL_LANGUAGE_INTEGRITY</td>
<td align="left" valign="top" headers="wq2375">
<div class="lines">VARCHAR(254)<br />
</div>
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2376">Support of the integrity feature.
<dl>
<dt class="bold">YES</dt>
<dd>conformance is claimed to the integrity feature
</dd>
<dt class="bold">NO</dt>
<dd>conformance is not claimed to the integrity feature
</dd>
</dl>
<p>Contains the null value if the standard does not have a separate integrity
feature.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2374">SQL_LANGUAGE_IMPLEMENTATION</td>
<td align="left" valign="top" headers="wq2375">
<div class="lines">VARCHAR(254)<br />
</div>
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2376">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2374">SQL_LANGUAGE_BINDING_STYLE</td>
<td align="left" valign="top" headers="wq2375">
<div class="lines">VARCHAR(254)<br />
</div></td>
<td align="left" valign="top" headers="wq2376">The style of binding of the SQL language
<dl>
<dt class="bold">EMBEDDED</dt>
<dd>support for embedded SQL for the language in
<div class="lines">SQL_LANGUAGE_PROGRAMMING_LANG<br />
</div>
</dd>
<dt class="bold">DIRECT</dt>
<dd>DIRECT SQL is supported (for example Interactive SQL)
</dd>
<dt class="bold">CLI</dt>
<dd>Support for CLI for the language in
<div class="lines">SQL_LANGUAGE_PROGRAMMING_LANG<br />
</div>
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2374">SQL_LANGUAGE_PROGRAMMING_LANG</td>
<td align="left" valign="top" headers="wq2375">
<div class="lines">VARCHAR(254)<br />
</div>
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2376">The language supported by EMBEDDED or CLI.
<dl>
<dt class="bold">C</dt>
<dd>The C language is supported.
</dd>
<dt class="bold">COBOL</dt>
<dd>The COBOL language is supported.
</dd>
<dt class="bold">PLI</dt>
<dd>The PL/I language is supported.
</dd>
</dl>
<p>Contains the null value if the SQL_LANGUAGE_BINDING_STYLE is DIRECT.</p></td>
</tr>
</tbody>
</table>
<a name="catsql_sizing"></a>
<h3 id="catsql_sizing"><a href="rbafzmst02.htm#ToC_1568">SQL_SIZING</a></h3><a id="idx3586" name="idx3586"></a><a id="idx3587" name="idx3587"></a>
<p>The SQL_SIZING table contains one row for each limit supported
by the database manager. The following table describes the columns in the
table:</p>
<a name="anssize"></a>
<table id="anssize" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 163. SQL_SIZING table</caption>
<thead valign="bottom">
<tr>
<th id="wq2377" width="36%" align="left" valign="bottom">Column Name</th>
<th id="wq2378" width="14%" align="left" valign="bottom">Data Type</th>
<th id="wq2379" width="49%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2377">SIZING_ID</td>
<td align="left" valign="top" headers="wq2378">INTEGER</td>
<td align="left" valign="top" headers="wq2379">ANS and ISO sizing ID</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2377">SIZING_NAME</td>
<td align="left" valign="top" headers="wq2378">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2379">Name of the ANS and ISO sizing.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2377">SUPPORTED_VALUE</td>
<td align="left" valign="top" headers="wq2378">BIGINT
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2379">Indicates the sizing limit.
<p>Contains the
null value if the sizing limit is not applicable.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2377">COMMENTS</td>
<td align="left" valign="top" headers="wq2378">VARCHAR(2000)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2379">Reserved. Contains the null value.</td>
</tr>
</tbody>
</table>
<a name="cattable_constraints"></a>
<h3 id="cattable_constraints"><a href="rbafzmst02.htm#ToC_1569">TABLE_CONSTRAINTS</a></h3><a id="idx3588" name="idx3588"></a><a id="idx3589" name="idx3589"></a>
<p>The TABLE_CONSTRAINTS view contains one row for each constraint. The following
table describes the columns in the view:</p>
<a name="anstblc"></a>
<table id="anstblc" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 164. TABLE_CONSTRAINTS view</caption>
<thead valign="bottom">
<tr>
<th id="wq2380" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2381" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2382" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2380">CONSTRAINT_CATALOG</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2382">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2380">CONSTRAINT_SCHEMA</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(128)</td>
<td headers="wq2382">Name of the schema containing the constraint.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2380">CONSTRAINT_NAME</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2382">Name of the constraint.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2380">TABLE_CATALOG</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2382">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2380">TABLE_SCHEMA</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2382">Name of the schema containing the table.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2380">TABLE_NAME</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2382">Name of the table which the constraint is
created over.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2380">CONSTRAINT_TYPE</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(11)</td>
<td align="left" valign="top" headers="wq2382">Constraint Type
<ul class="simple">
<li>CHECK</li>
<li>UNIQUE</li>
<li>PRIMARY KEY</li>
<li>FOREIGN KEY</li></ul></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2380">IS_DEFERRABLE</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2382">Indicates whether the constraint checking
can be deferred. Contains 'NO'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2380">INITIALLY_DEFERRED</td>
<td align="left" valign="top" headers="wq2381">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2382">Indicates whether the constraint was defined
as initially deferred. Contains 'NO'.</td>
</tr>
</tbody>
</table>
<a name="cattables"></a>
<h3 id="cattables"><a href="rbafzmst02.htm#ToC_1570">TABLES</a></h3><a id="idx3590" name="idx3590"></a><a id="idx3591" name="idx3591"></a>
<p>The TABLES view contains one row for each table, view, and alias. The following
table describes the columns in the view:</p>
<a name="anstbl"></a>
<table id="anstbl" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 165. TABLES view</caption>
<thead valign="bottom">
<tr>
<th id="wq2383" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2384" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2385" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2383">TABLE_CATALOG</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2385">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">TABLE_SCHEMA</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2385">Name of the SQL schema that contains the
table, view or alias.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">TABLE_NAME</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2385">Name of the table, view or alias.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">TABLE_TYPE</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(24)</td>
<td headers="wq2385">Indicates the type of the table:
<dl>
<dt class="bold">ALIAS</dt>
<dd>The table is an alias.
</dd>
<dt class="bold">BASE TABLE</dt>
<dd>The table is an SQL table or physical file.
</dd>
<dt class="bold">MATERIALIZED QUERY TABLE</dt>
<dd>The object is a materialized query table.
</dd>
<dt class="bold">VIEW</dt>
<dd>The table is an SQL view or logical file.
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">SELF_REFERENCING_COLUMN_NAME</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2385">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">REFERENCE_GENERATION</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2385">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">USER_DEFINED_TYPE_CATALOG</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2385">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">USER_DEFINED_TYPE_SCHEMA</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2385">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">USER_DEFINED_TYPE_NAME</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2385">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2383">IS_INSERTABLE_INTO</td>
<td align="left" valign="top" headers="wq2384">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2385">Identifies whether an INSERT is allowed on
the table.
<dl>
<dt class="bold">NO</dt>
<dd>An INSERT is not allowed on this table.
</dd>
<dt class="bold">YES</dt>
<dd>An INSERT is allowed on this table.
</dd>
</dl></td>
</tr>
</tbody>
</table>
<a name="catuser_defined_types"></a>
<h3 id="catuser_defined_types"><a href="rbafzmst02.htm#ToC_1571">USER_DEFINED_TYPES</a></h3><a id="idx3592" name="idx3592"></a><a id="idx3593" name="idx3593"></a>
<p>The USER_DEFINED_TYPES view contains one row for each distinct type.<sup class="fn"><a id="wq2386" name="wq2386" href="rbafzmstcatalogans.htm#wq2387">111</a></sup> The
following table describes the columns in the view:</p>
<a name="ansudt"></a>
<table id="ansudt" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 166. USER_DEFINED_TYPES view</caption>
<thead valign="bottom">
<tr>
<th id="wq2388" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2389" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2390" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2388">USER_DEFINED_TYPE_CATALOG</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2390">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">USER_DEFINED_TYPE_SCHEMA</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2390">Schema name of the distinct type.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">USER_DEFINED_TYPE_NAME</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2390">Name of the user that created the distinct type.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">USER_DEFINED_TYPE_CATEGORY</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2390">Indicates the type of user-defined type.
Contains 'DISTINCT'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">IS_INSTANTIABLE</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains 'YES'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">IS_FINAL</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains 'YES'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">ORDERING_FORM</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(4)</td>
<td align="left" valign="top" headers="wq2390">Indicates what kind of predicates are allowed
when this distinct type is a comparand:
<dl>
<dt class="bold">FULL</dt>
<dd>All predicates are allowed.
</dd>
<dt class="bold">NONE</dt>
<dd>No predicates are allowed
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">ORDERING_CATEGORY</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(8)</td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains 'MAP'.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">ORDERING_ROUTINE_CATALOG</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Relational database name
<p>Contains the null
value if the ORDERING_FORM is 'NONE'.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">ORDERING_ROUTINE_SCHEMA</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains 'SYSIBM'.
<p>Contains
the null value if the ORDERING_FORM is 'NONE'.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">ORDERING_ROUTINE_NAME</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains a data type name.
<p>Contains
the null value if the ORDERING_FORM is 'NONE'.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">REFERENCE_TYPE</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(16)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">DATA_TYPE</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Source data type of the distinct type:
<dl>
<dt class="bold">BIGINT</dt>
<dd>Big number
</dd>
<dt class="bold">INTEGER</dt>
<dd>Large number
</dd>
<dt class="bold">SMALLINT</dt>
<dd>Small number
</dd>
<dt class="bold">DECIMAL</dt>
<dd>Packed decimal
</dd>
<dt class="bold">NUMERIC</dt>
<dd>Zoned decimal
</dd>
<dt class="bold">DOUBLE PRECISION</dt>
<dd>Floating point; DOUBLE PRECISION
</dd>
<dt class="bold">REAL</dt>
<dd>Floating point; REAL
</dd>
<dt class="bold">CHARACTER</dt>
<dd>Fixed-length character string
</dd>
<dt class="bold">CHARACTER VARYING</dt>
<dd>Varying-length character string
</dd>
<dt class="bold">CHARACTER LARGE OBJECT</dt>
<dd>Character large object string
</dd>
<dt class="bold">GRAPHIC</dt>
<dd>Fixed-length graphic string
</dd>
<dt class="bold">GRAPHIC VARYING</dt>
<dd>Varying-length graphic string
</dd>
<dt class="bold">DOUBLE-BYTE CHARACTER LARGE OBJECT</dt>
<dd>Double-byte character large object string
</dd>
<dt class="bold">BINARY</dt>
<dd>Fixed-length binary string
</dd>
<dt class="bold">BINARY VARYING</dt>
<dd>Varying-length binary string
</dd>
<dt class="bold">BINARY LARGE OBJECT</dt>
<dd>Binary large object string
</dd>
<dt class="bold">DATE</dt>
<dd>Date
</dd>
<dt class="bold">TIME</dt>
<dd>Time
</dd>
<dt class="bold">TIMESTAMP</dt>
<dd>Timestamp
</dd>
<dt class="bold">DATALINK</dt>
<dd>Datalink
</dd>
<dt class="bold">ROWID</dt>
<dd>Row ID
</dd>
<dt class="bold">USER-DEFINED</dt>
<dd>Distinct Type
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">CHARACTER_MAXIMUM_LENGTH</td>
<td align="left" valign="top" headers="wq2389">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Maximum length of the distinct type for binary, character,
and graphic string data types.
<p>Contains the null value if the distinct type is
not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">CHARACTER_OCTET_LENGTH</td>
<td align="left" valign="top" headers="wq2389">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Number of bytes of the distinct type for binary,
character, and graphic string data types.
<p>Contains the null value if the distinct type is
not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">CHARACTER_SET_CATALOG</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Relational database name of the distinct type.
<p>Contains the null value if the distinct type is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">CHARACTER_SET_SCHEMA</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">The schema name of the character set of the distinct type.
Contains 'SYSIBM'.
<p>Contains the null value if the distinct type is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">CHARACTER_SET_NAME</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">The character set name of the distinct type.
<p>Contains
the null value if the distinct type is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">COLLATION_CATALOG</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Relational database name of the distinct type.
<p>Contains the null value if the distinct type is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">COLLATION_SCHEMA</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">The schema of the collation of the distinct type.
SYSIBM is returned.
<p>Contains the null value if the distinct type is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">COLLATION_NAME</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">The collation name of the distinct type. IBMBINARY
is returned.
<p>Contains the null value if the distinct type is not a string.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">NUMERIC_PRECISION</td>
<td align="left" valign="top" headers="wq2389">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">The precision of the distinct type.
<p></p>
<a name="wq2391"></a>
<div class="notetitle" id="wq2391">Note:</div>
<div class="notebody">This column supplies the precision of all numeric data types, including single-and
double-precision floating point. The NUMERIC_PRECISION_RADIX column indicates
if the value in this column is in binary or decimal digits.</div>
<p>Contains the null value if the distinct type is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">NUMERIC_PRECISION_RADIX</td>
<td align="left" valign="top" headers="wq2389">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Indicates if the precision specified in column
NUMERIC_PRECISION is specified as a number of binary or decimal digits:
<dl>
<dt class="bold">2</dt>
<dd>Binary; floating-point precision is specified in binary digits.
</dd>
<dt class="bold">10</dt>
<dd>Decimal; all other numeric types are specified in decimal digits.
</dd>
</dl>
<p>Contains the null value if the distinct type is not numeric.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">NUMERIC_SCALE</td>
<td align="left" valign="top" headers="wq2389">SMALLINT
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Scale of numeric distinct type.
<p>Contains the null
value if the distinct type is not decimal, numeric, or binary.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">DATETIME_PRECISION</td>
<td align="left" valign="top" headers="wq2389">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">The fractional part of a date, time, or timestamp distinct type.
<dl>
<dt class="bold">0</dt>
<dd>For DATE and TIME data types
</dd>
<dt class="bold">6</dt>
<dd>For TIMESTAMP data types (number of microseconds).
</dd>
</dl>
<p>Contains the null value if the distinct type is not date, time, or timestamp.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">INTERVAL_TYPE</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">INTERVAL_PRECISION</td>
<td align="left" valign="top" headers="wq2389">INTEGER
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains the null value.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">SOURCE_DTD_IDENTIFIER</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(128)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">A unique internal identifier for the source
data type.
<p>Contains the null value if the distinct type is not sourced on another distinct type.</p></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2388">REF_DTD_IDENTIFIER</td>
<td align="left" valign="top" headers="wq2389">VARCHAR(256)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2390">Reserved. Contains the null value.</td>
</tr>
</tbody>
</table>
<a name="catviews"></a>
<h3 id="catviews"><a href="rbafzmst02.htm#ToC_1572">VIEWS</a></h3><a id="idx3594" name="idx3594"></a><a id="idx3595" name="idx3595"></a>
<p>The VIEWS view contains one row for each view. The following table describes
the columns in the view:</p>
<a name="ansview"></a>
<table id="ansview" width="100%" summary="" border="0" frame="void" rules="rows">
<caption>Table 167. VIEWS view</caption>
<thead valign="bottom">
<tr>
<th id="wq2392" width="39%" align="left" valign="bottom">Column Name</th>
<th id="wq2393" width="15%" align="left" valign="bottom">Data Type</th>
<th id="wq2394" width="45%" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left" valign="top" headers="wq2392">TABLE_CATALOG</td>
<td align="left" valign="top" headers="wq2393">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2394">Relational database name</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2392">TABLE_SCHEMA</td>
<td align="left" valign="top" headers="wq2393">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2394">Name of the SQL schema that contains the
view.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2392">TABLE_NAME</td>
<td align="left" valign="top" headers="wq2393">VARCHAR(128)</td>
<td align="left" valign="top" headers="wq2394">Name of the view.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2392">VIEW_DEFINITION</td>
<td align="left" valign="top" headers="wq2393">CLOB(2M)
<div class="lines">Nullable<br />
</div></td>
<td align="left" valign="top" headers="wq2394">The query expression portion of the CREATE
VIEW statement.</td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2392">CHECK_OPTION</td>
<td align="left" valign="top" headers="wq2393">VARCHAR(8)</td>
<td align="left" valign="top" headers="wq2394">The check option used on the view
<dl>
<dt class="bold">NONE</dt>
<dd>No check option was specified
</dd>
<dt class="bold">LOCAL</dt>
<dd>The local option was specified
</dd>
<dt class="bold">CASCADED</dt>
<dd>The cascaded option was specified
</dd>
</dl></td>
</tr>
<tr>
<td align="left" valign="top" headers="wq2392">IS_UPDATABLE</td>
<td align="left" valign="top" headers="wq2393">VARCHAR(3)</td>
<td align="left" valign="top" headers="wq2394">Specifies if the view is updatable:
<dl>
<dt class="bold">YES</dt>
<dd>The view is updatable
</dd>
<dt class="bold">NO</dt>
<dd>The view is read-only
</dd>
</dl></td>
</tr>
</tbody>
</table>
<hr /><div class="fnnum"><a id="wq2387" name="wq2387" href="rbafzmstcatalogans.htm#wq2386">111</a>.</div>
<div class="fntext">This view does not contain information about built-in data types.</div>
<br />
<hr /><br />
[ <a href="#Top_Of_Page">Top of Page</a> | <a href="rbafzmstcatalogodbc.htm">Previous Page</a> | <a href="rbafzmstterminology.htm">Next Page</a> | <a href="rbafzmst02.htm#wq1">Contents</a> |
<a href="rbafzmstindex.htm#index">Index</a> ]
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>