ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1naming.htm

71 lines
4.8 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 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="Naming of distributed relational database objects" />
<meta name="abstract" content="SQL objects are created and maintained as iSeries server objects." />
<meta name="description" content="SQL objects are created and maintained as iSeries server objects." />
<meta name="DC.subject" content="naming distributed relational database objects, objects, naming distributed relational database" />
<meta name="keywords" content="naming distributed relational database objects, objects, naming distributed relational database" />
<meta name="DC.Relation" scheme="URI" content="rbal1progdrd.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1systemname.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1sqlname.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1defaultc.htm" />
<meta name="DC.Relation" scheme="URI" content="../db2/rbafzmstch2nam.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="rbal1naming" />
<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>Naming of distributed relational database objects</title>
</head>
<body id="rbal1naming"><a name="rbal1naming"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Naming of distributed relational database objects</h1>
<div><p>SQL objects are created and maintained as <span class="keyword">iSeries™ server</span> objects.</p>
<p>You can use either of the two naming conventions in <span class="keyword">DB2 Universal Database™ for iSeries</span> programming: system (*SYS)
and SQL (*SQL). The naming convention that you use affects the method for
qualifying file and table names. It also affects security and the terms used
on the Interactive SQL displays. Distributed relational database
applications can access objects on another <span class="keyword">iSeries server</span> using
either naming convention. However, if your program accesses a non-DB2 UDB
for <span class="keyword">iSeries server</span>, only SQL names
can be used. This can be specified using the NAMING parameter on the Start
SQL (STRSQL) command, the OPTION parameter on one of the CRTSQLxxx commands,
or by using the naming connection property for CLI/JDBC.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbal1systemname.htm">System (*SYS) naming convention</a></strong><br />
When you use the system naming convention, files are qualified
by library name in the form <em>library/file</em>. </li>
<li class="ulchildlink"><strong><a href="rbal1sqlname.htm">SQL (*SQL) naming convention</a></strong><br />
When you use the SQL naming convention, tables are qualified by
the collection name in the form <em>collection.table</em>.</li>
<li class="ulchildlink"><strong><a href="rbal1defaultc.htm">Default collection name</a></strong><br />
You can specify a default collection name to be used by an SQL
program by supplying this name for the DFTRDBCOL parameter on the CRTSQL<em>xxx</em> command
when you precompile the program.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1progdrd.htm" title="Programming considerations for a distributed relational database application on an iSeries server fall into two main categories: those that deal with a function that is supported on the local server and those that are a result of having to connect to other servers.">Programming considerations for a distributed relational database application</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../db2/rbafzmstch2nam.htm">Naming conventions</a></div>
</div>
</div>
</body>
</html>