ibm-information-center/dist/eclipse/plugins/i5OS.ic.sqlp_5.4.0.1/rbafysqlobjects.htm

105 lines
7.1 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 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 objects" />
<meta name="abstract" content="SQL objects are schemas, journals, catalogs, tables, aliases, views, indexes, constraints, triggers, sequences, stored procedures, user-defined functions, user-defined types, and SQL packages. SQL creates and maintains these objects as system objects." />
<meta name="description" content="SQL objects are schemas, journals, catalogs, tables, aliases, views, indexes, constraints, triggers, sequences, stored procedures, user-defined functions, user-defined types, and SQL packages. SQL creates and maintains these objects as system objects." />
<meta name="DC.subject" content="SQL, object descriptions" />
<meta name="keywords" content="SQL, object descriptions" />
<meta name="DC.Relation" scheme="URI" content="rbafyintro.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyconschema.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyconjournal.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyconcatalogs.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafycontables.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyaliasdef.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyviewex.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyindexex.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyconstex.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafytrigger1.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafystored1.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafy1sequence.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyusrdeffun.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyusrdeftype.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafypack1.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="rbafysqlobjects" />
<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 objects</title>
</head>
<body id="rbafysqlobjects"><a name="rbafysqlobjects"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">SQL objects</h1>
<div><p>SQL <dfn class="term">objects</dfn> are schemas, journals, catalogs,
tables, aliases, views, indexes, constraints, triggers, sequences, stored
procedures, user-defined functions, user-defined types, and SQL packages.
SQL creates and maintains these objects as system objects.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbafyconschema.htm">Schemas</a></strong><br />
A <dfn class="term">schema</dfn> provides a logical grouping
of SQL objects.</li>
<li class="ulchildlink"><strong><a href="rbafyconjournal.htm">Journals and journal receivers</a></strong><br />
A <dfn class="term">journal</dfn> and <dfn class="term">journal receiver</dfn> are
used to record changes to tables and views in the database.</li>
<li class="ulchildlink"><strong><a href="rbafyconcatalogs.htm">Catalogs</a></strong><br />
An SQL <dfn class="term">catalog</dfn> consists of a set of tables
and views which describe tables, views, indexes, packages, procedures, functions,
files, sequences, triggers, and constraints.</li>
<li class="ulchildlink"><strong><a href="rbafycontables.htm">Tables, rows, and columns</a></strong><br />
A <dfn class="term">table</dfn> is a two-dimensional arrangement of data consisting
of <dfn class="term">rows</dfn> and <dfn class="term">columns</dfn>.</li>
<li class="ulchildlink"><strong><a href="rbafyaliasdef.htm">Aliases</a></strong><br />
An <dfn class="term">alias</dfn> is an alternate name for a table or view.</li>
<li class="ulchildlink"><strong><a href="rbafyviewex.htm">Views</a></strong><br />
A <dfn class="term">view</dfn> appears like a table to an application
program; however, a view contains no data.</li>
<li class="ulchildlink"><strong><a href="rbafyindexex.htm">Indexes</a></strong><br />
An SQL <dfn class="term">index</dfn> is a subset of the data
in the columns of a table that are logically arranged in either ascending
or descending order.</li>
<li class="ulchildlink"><strong><a href="rbafyconstex.htm">Constraints</a></strong><br />
<dfn class="term">Constraints</dfn> are rules enforced by the database manager.</li>
<li class="ulchildlink"><strong><a href="rbafytrigger1.htm">Triggers</a></strong><br />
A <dfn class="term">trigger</dfn> is a set of actions that are run automatically
whenever a specified event occurs to a specified base table or view.</li>
<li class="ulchildlink"><strong><a href="rbafystored1.htm">Stored procedures</a></strong><br />
A <dfn class="term">stored procedure</dfn> is a program that can be called
using the SQL CALL statement.</li>
<li class="ulchildlink"><strong><a href="rbafy1sequence.htm">Sequences</a></strong><br />
A <dfn class="term">sequence</dfn> is a data area object that provides a quick
and easy way of generating unique numbers.</li>
<li class="ulchildlink"><strong><a href="rbafyusrdeffun.htm">User-defined functions</a></strong><br />
<span>A <dfn class="term">user-defined function</dfn> is
a program that can be called like any built-in function. </span></li>
<li class="ulchildlink"><strong><a href="rbafyusrdeftype.htm">User-defined types</a></strong><br />
A <dfn class="term">user-defined type</dfn> is a distinct data
type that users can define independently of those supplied by the database
management system.</li>
<li class="ulchildlink"><strong><a href="rbafypack1.htm">SQL packages</a></strong><br />
An <dfn class="term">SQL package</dfn> is an object that contains the control
structure produced when the SQL statements in an application program are bound
to a remote relational database management system (DBMS).</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafyintro.htm" title="These topics describe the iSeries server implementation of the Structured Query Language (SQL) using DB2 UDB for iSeries and the DB2 UDB Query Manager and SQL Development Kit licensed program.">Introduction to DB2 UDB for iSeries Structured Query Language</a></div>
</div>
</div>
</body>
</html>