340 lines
11 KiB
HTML
340 lines
11 KiB
HTML
|
<?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="equivalent terms, equivalent term, constant,
|
||
|
literal, predicate, comparison, predicate subquery, of table, degree,
|
||
|
outer reference, expression, query, specification, result specification,
|
||
|
set function, table expression, target specification, transaction,
|
||
|
value expression, aggregate function, arithmetic expression, basic predicate,
|
||
|
column in a group-by clause, correlated reference, fullselect,
|
||
|
host variable followed by an indicator variable,
|
||
|
number of items in a select list, result,
|
||
|
result table created by a group-by or having clause,
|
||
|
result view created by a group-by or having clause,
|
||
|
subquery in a basic predicate, subselect" />
|
||
|
<title>Terminology differences</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="terminology"></a>
|
||
|
<h1 id="terminology"><a href="rbafzmst02.htm#ToC_1573">Appendix G. Terminology differences</a></h1>
|
||
|
<p>Some terminology used in the ANSI and ISO standards differs from the terminology
|
||
|
used in this book and other product books. The following table is a cross
|
||
|
reference of the SQL 2003 Core standard terms to DB2 UDB SQL terms.</p>
|
||
|
<a name="wq2395"></a>
|
||
|
<table id="wq2395" width="100%" summary="" border="1" frame="border" rules="all">
|
||
|
<caption>Table 168. ANSI/ISO term to DB2 UDB SQL term cross-reference</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2396" width="50%" align="left">
|
||
|
<div class="lines">ANSI/ISO Term<br />
|
||
|
</div></th>
|
||
|
<th id="wq2397" width="50%" align="left">
|
||
|
<div class="lines">DB2 UDB SQL Term<br />
|
||
|
</div></th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">literal<a id="idx3596" name="idx3596"></a><a id="idx3597" name="idx3597"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">constant<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">comparison predicate<a id="idx3598" name="idx3598"></a><a id="idx3599" name="idx3599"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">basic predicate<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">comparison predicate subquery<a id="idx3600" name="idx3600"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">subquery in a basic predicate<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">degree of table/cursor <a id="idx3601" name="idx3601"></a></td>
|
||
|
<td headers="wq2397">number of items in a select list</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">grouped table<br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">result table created by a group-by or having clause<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">grouped view<br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">result view created by a group-by or having clause<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">grouping column<br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">column in a group-by clause<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">outer reference<a id="idx3602" name="idx3602"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">correlated reference<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">query expression<a id="idx3603" name="idx3603"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">fullselect<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">query specification<a id="idx3604" name="idx3604"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">subselect<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">result specification<a id="idx3605" name="idx3605"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">result<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">set function<a id="idx3606" name="idx3606"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">aggregate function<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">table expression<a id="idx3607" name="idx3607"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<pre class="cgraphic">>--from-clause*-*--------------*----------->
|
||
|
**where-clause**
|
||
|
>--*-----------------*--*---------------*-->
|
||
|
**group-by-clause** **having-clause**</pre></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">target specification<a id="idx3608" name="idx3608"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">host variable followed by an indicator variable<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">transaction<a id="idx3609" name="idx3609"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">
|
||
|
<div class="lines">logical unit of work or unit of work<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2396">
|
||
|
<div class="lines">value expression<a id="idx3610" name="idx3610"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2397">arithmetic expression</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<p>The following table is a cross reference of DB2 UDB SQL terms to the SQL 2003 Core standard terms.</p>
|
||
|
<a name="wq2398"></a>
|
||
|
<table id="wq2398" width="100%" summary="" border="1" frame="border" rules="all">
|
||
|
<caption>Table 169. DB2 UDB SQL term to ANSI/ISO term cross-reference</caption>
|
||
|
<thead valign="bottom">
|
||
|
<tr>
|
||
|
<th id="wq2399" width="50%" align="left">
|
||
|
<div class="lines">DB2 UDB SQL Term<br />
|
||
|
</div></th>
|
||
|
<th id="wq2400" width="50%" align="left">
|
||
|
<div class="lines">ANSI/ISO Term<br />
|
||
|
</div></th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">aggregate function<a id="idx3611" name="idx3611"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">set function<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">arithmetic expression<a id="idx3612" name="idx3612"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">value expression<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">basic predicate<a id="idx3613" name="idx3613"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">comparison predicate<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">column in a group-by clause<a id="idx3614" name="idx3614"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">grouping column<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">correlated reference<a id="idx3615" name="idx3615"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">outer reference<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<pre class="cgraphic">>--from-clause*-*--------------*----------->
|
||
|
**where-clause**
|
||
|
>--*-----------------*--*---------------*-->
|
||
|
**group-by-clause** **having-clause**</pre></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">table expression<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">fullselect<a id="idx3616" name="idx3616"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">query expression<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">host variable followed by an indicator variable<a id="idx3617" name="idx3617"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">target specification<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">logical unit of work or unit of work<br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">transaction<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">interactive SQL<br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">direct SQL<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">number of items in a select list <a id="idx3618" name="idx3618"></a></td>
|
||
|
<td headers="wq2400">degree of table/cursor</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">result<a id="idx3619" name="idx3619"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">result specification<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">result table created by a group-by or having clause<a id="idx3620" name="idx3620"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">grouped table<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">result view created by a group-by or having clause<a id="idx3621" name="idx3621"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">grouped view<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">subquery in a basic predicate<a id="idx3622" name="idx3622"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">comparison predicate subquery<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">subselect<a id="idx3623" name="idx3623"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">query specification<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq2399">
|
||
|
<div class="lines">subselect or fullselect in parenthesis<a id="idx3624" name="idx3624"></a><br />
|
||
|
</div></td>
|
||
|
<td headers="wq2400">
|
||
|
<div class="lines">query term<br />
|
||
|
</div></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<hr /><br />
|
||
|
[ <a href="#Top_Of_Page">Top of Page</a> | <a href="rbafzmstcatalogans.htm">Previous Page</a> | <a href="rbafzmstresword.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>
|