<?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 lang="en-us" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <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="DC.Type" content="concept" /> <meta name="DC.Title" content="SQL relational database and system terminology" /> <meta name="abstract" content="In the relational model of data, all data is perceived as existing in tables. DB2 UDB for iSeries objects are created and maintained as system objects." /> <meta name="description" content="In the relational model of data, all data is perceived as existing in tables. DB2 UDB for iSeries objects are created and maintained as system objects." /> <meta name="DC.subject" content="relational database, database, relational, library, definition, physical file, record, field, logical file, schema, table, row, column, view, SQL package, user profile, authorization name, authorization ID" /> <meta name="keywords" content="relational database, database, relational, library, definition, physical file, record, field, logical file, schema, table, row, column, view, SQL package, user profile, authorization name, authorization ID" /> <meta name="DC.Relation" scheme="URI" content="rbafysqlconcepts.htm" /> <meta name="DC.Relation" scheme="URI" content="../ddp/rbal1kickoff.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rbafyxdbterms" /> <meta name="DC.Language" 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. --> <link rel="stylesheet" type="text/css" href="./ibmdita.css" /> <link rel="stylesheet" type="text/css" href="./ic.css" /> <title>SQL relational database and system terminology</title> </head> <body id="rbafyxdbterms"><a name="rbafyxdbterms"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">SQL relational database and system terminology</h1> <div><p>In the relational model of data, all data is perceived as existing in tables. <span class="keyword">DB2<sup>®</sup> UDB for iSeries™</span> objects are created and maintained as system objects.</p> <p>The following table shows the relationship between system terms and SQL relational database terms.</p> <table cellpadding="4" cellspacing="0" border="1" class="tableborder"><tr><td> <a name="rbafyxdbterms__dbterms"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="rbafyxdbterms__dbterms" width="100%" border="0"><caption>Table 1. Relationship of System Terms to SQL Terms</caption><thead align="left"><tr><th align="left" valign="bottom" width="50%" id="d0e89">System Terms</th> <th align="left" valign="bottom" width="50%" id="d0e91">SQL Terms</th> </tr> </thead> <tbody><tr><td align="left" valign="top" width="50%" headers="d0e89 "><strong>Library</strong>. Groups related objects and allows you to find the objects by name.</td> <td align="left" valign="top" width="50%" headers="d0e91 "><strong>Schema</strong>. Consists of a library, a journal, a journal receiver, an SQL catalog, and optionally a data dictionary. A schema groups related objects and allows you to find the objects by name.</td> </tr> <tr><td align="left" valign="top" width="50%" headers="d0e89 "><strong>Physical file</strong>. A set of records.</td> <td align="left" valign="top" width="50%" headers="d0e91 "><strong>Table</strong>. A set of columns and rows.</td> </tr> <tr><td align="left" valign="top" width="50%" headers="d0e89 "><strong>Record</strong>. A set of fields.</td> <td align="left" valign="top" width="50%" headers="d0e91 "><strong>Row</strong>. The horizontal part of a table containing a serial set of columns.</td> </tr> <tr><td align="left" valign="top" width="50%" headers="d0e89 "><strong>Field</strong>. One or more characters of related information of one data type.</td> <td align="left" valign="top" width="50%" headers="d0e91 "><strong>Column</strong>. The vertical part of a table of one data type.</td> </tr> <tr><td align="left" valign="top" width="50%" headers="d0e89 "><strong>Logical file</strong>. A subset of fields and records of one or more physical files.</td> <td align="left" valign="top" width="50%" headers="d0e91 "><strong>View</strong>. A subset of columns and rows of one or more tables.</td> </tr> <tr><td align="left" valign="top" width="50%" headers="d0e89 "><strong>SQL Package</strong>. An object type that is used to run SQL statements.</td> <td align="left" valign="top" width="50%" headers="d0e91 "><strong>Package</strong>. An object type that is used to run SQL statements.</td> </tr> <tr><td align="left" valign="top" width="50%" headers="d0e89 "><strong>User Profile</strong></td> <td align="left" valign="top" width="50%" headers="d0e91 "><strong>Authorization name or Authorization ID.</strong></td> </tr> </tbody> </table> </td></tr></table> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rbafysqlconcepts.htm" title="DB2 UDB for iSeries SQL consists of these main parts.">SQL concepts</a></div> </div> <div class="relref"><strong>Related reference</strong><br /> <div><a href="../ddp/rbal1kickoff.htm">Distributed database programming</a></div> </div> </div> </body> </html>