74 lines
4.6 KiB
HTML
74 lines
4.6 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="Queries and reports" />
|
||
|
<meta name="abstract" content="Create and run queries using various methods, including SQL, the OPNQRYF command, the i5/OS Create Query API (QQQQRY), ODBC, and Query for iSeries." />
|
||
|
<meta name="description" content="Create and run queries using various methods, including SQL, the OPNQRYF command, the i5/OS Create Query API (QQQQRY), ODBC, and Query for iSeries." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzahfadmin.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzahfquery.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../rzatc/rzatcsqlassist.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../sqlp/rbafykickoff.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="rzahfreports" />
|
||
|
<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>Queries and reports</title>
|
||
|
</head>
|
||
|
<body id="rzahfreports"><a name="rzahfreports"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Queries and reports</h1>
|
||
|
<div><p>Create and run queries using various methods, including SQL, the
|
||
|
OPNQRYF command, the <span class="keyword">i5/OS™</span> Create
|
||
|
Query API (QQQQRY), ODBC, and Query for <span class="keyword">iSeries™</span>. </p>
|
||
|
<p>One of the most common tasks that you perform with your database is to
|
||
|
retrieve information. <span class="keyword">iSeries</span> servers
|
||
|
provide several methods to create and run queries and reports.</p>
|
||
|
<p>You can use an SQL statement to retrieve information. This SQL statement
|
||
|
is called a <em>query</em>. The query searches the tables stored in your database
|
||
|
to find the answer to the question that you posed with your SQL statement.
|
||
|
The answer is expressed as a set of rows, which is referred to as the result
|
||
|
set. After a query has been run, you can also create a report to display the
|
||
|
data provided in your result set. For detailed information about creating
|
||
|
SQL statements, see the SQL programming topic.</p>
|
||
|
<p>In addition to using SQL, you can use other functions and products to create
|
||
|
and run queries and reports. See the following manuals for detailed information.</p>
|
||
|
<ul><li><a href="../books/sc415210.pdf" target="_blank">Query for iSeries</a> <img src="wbpdf.gif" alt="Link to PDF" /></li>
|
||
|
<li><a href="../books/sc415703.pdf" target="_blank">Query Management Programming</a> <img src="wbpdf.gif" alt="Link to PDF" /></li>
|
||
|
<li><a href="../books/sc415212.pdf" target="_blank"><span class="keyword">iSeries</span> Query
|
||
|
Manager</a> <img src="wbpdf.gif" alt="Link to PDF" /></li>
|
||
|
</ul>
|
||
|
<p>In addition, the <span class="keyword">iSeries Navigator</span> interface
|
||
|
provides SQL Assist, which can be used to create SQL statements. SQL Assist
|
||
|
helps you to build SQL Select, Insert, Update, and Delete statements. See
|
||
|
Build SQL statements with SQL Assist for more information.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzahfquery.htm">Additional information</a></strong><br />
|
||
|
This topic contains additional information for query for <span class="keyword">iSeries</span>.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahfadmin.htm">Administration</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="../rzatc/rzatcsqlassist.htm">Build SQL statements with SQL Assist</a></div>
|
||
|
<div><a href="../sqlp/rbafykickoff.htm">SQL programming</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|