114 lines
6.4 KiB
HTML
114 lines
6.4 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="reference" />
|
|
<meta name="DC.Title" content="Start interactive SQL" />
|
|
<meta name="abstract" content="You can start using interactive SQL by typing STRSQL on an i5/OS command line." />
|
|
<meta name="description" content="You can start using interactive SQL by typing STRSQL on an i5/OS command line." />
|
|
<meta name="DC.subject" content="interactive SQL, getting started, STRSQL (Start SQL) command" />
|
|
<meta name="keywords" content="interactive SQL, getting started, STRSQL (Start SQL) command" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafyintract.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/strsql.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="rbafystrsql" />
|
|
<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>Start interactive SQL</title>
|
|
</head>
|
|
<body id="rbafystrsql"><a name="rbafystrsql"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Start interactive SQL</h1>
|
|
<div><p>You can start using interactive SQL by typing <samp class="codeph">STRSQL</samp> on
|
|
an <span class="keyword">i5/OS™</span> command line.</p>
|
|
<div class="section"><p>The Enter SQL Statements display appears. This is the main interactive
|
|
SQL display. From this display, you can enter SQL statements and use:</p>
|
|
<ul><li>F4=prompt</li>
|
|
<li>F13=Session services</li>
|
|
<li>F16=Select collections</li>
|
|
<li>F17=Select tables</li>
|
|
<li>F18=Select columns</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><div class="p"> <pre class="screen"> Enter SQL Statements
|
|
|
|
Type SQL statement, press Enter.
|
|
Current connection is to relational database rdjacque.
|
|
===>_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
|
|
Bottom
|
|
F3=Exit F4=Prompt F6=Insert line F9=Retrieve F10=Copy line
|
|
F12=Cancel F13=Services F24=More keys
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
<div class="section"><div class="p">Press F24=More keys to view the remaining function keys. <pre class="screen"> _____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
_____________________________________________________________________
|
|
|
|
Bottom
|
|
|
|
F14=Delete line F15=Split line F16=Select collections (libraries)
|
|
F17=Select tables F18=Select columns F24=More keys
|
|
(files) (fields)</pre>
|
|
</div>
|
|
<div class="note"><span class="notetitle">Note:</span> If
|
|
you are using the system naming convention, the names in parentheses appear
|
|
instead of the names shown above.</div>
|
|
</div>
|
|
<div class="section"><p>An interactive session consists of:</p>
|
|
<ul><li>Parameter values you specified for the STRSQL command.</li>
|
|
<li>SQL statements you entered in the session along with corresponding messages
|
|
that follow each SQL statement</li>
|
|
<li>Values of any parameters you changed using the session services function</li>
|
|
<li>List selections you have made</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><p>Interactive SQL supplies a unique session-ID consisting of your
|
|
user ID and the current workstation ID. This session-ID concept allows multiple
|
|
users with the same user ID to use interactive SQL from more than one workstation
|
|
at the same time. Also, more than one interactive SQL session can be run from
|
|
the same workstation at the same time from the same user ID.</p>
|
|
</div>
|
|
<div class="section"><p>If an SQL session exists and is being re-entered, any parameters
|
|
specified on the STRSQL command are ignored. The parameters from the existing
|
|
SQL session are used.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafyintract.htm" title="Interactive SQL allows the programmer or database administrator to quickly and easily define, update, delete, or look at data for testing, problem analysis, and database maintenance.">Use interactive SQL</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="../cl/strsql.htm">Start SQL Interactive Session (STRSQL) command</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |