mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-10 07:53:30 +08:00
0.0.1
This commit is contained in:
145
docs/php/odbc_statistics.html
Normal file
145
docs/php/odbc_statistics.html
Normal file
@@ -0,0 +1,145 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Retrieve statistics about a table</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.odbc-statistics" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">odbc_statistics</h1>
|
||||
<p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">odbc_statistics</span> — <span class="dc-title">Retrieve statistics about a table</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.odbc-statistics-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>odbc_statistics</strong></span>
|
||||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$connection_id</code></span>
|
||||
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$qualifier</code></span>
|
||||
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$owner</code></span>
|
||||
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$table_name</code></span>
|
||||
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$unique</code></span>
|
||||
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$accuracy</code></span>
|
||||
) : <span class="type">resource</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
Get statistics about a table and its indexes.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.odbc-statistics-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">connection_id</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">ODBC 连接标识符,详见
|
||||
<span class="function"><a href="odbc_connect.html" class="function">odbc_connect()</a></span>。</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">qualifier</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The qualifier.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">owner</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The owner.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">table_name</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The table name.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">unique</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The unique attribute.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">accuracy</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The accuracy.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.odbc-statistics-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
Returns an ODBC result identifier 或者在失败时返回 <strong><code>FALSE</code></strong>.
|
||||
</p>
|
||||
<p class="para">
|
||||
The result set has the following columns:
|
||||
<ul class="itemizedlist">
|
||||
<li class="listitem"><span class="simpara">TABLE_QUALIFIER</span></li>
|
||||
<li class="listitem"><span class="simpara">TABLE_OWNER</span></li>
|
||||
<li class="listitem"><span class="simpara">TABLE_NAME</span></li>
|
||||
<li class="listitem"><span class="simpara">NON_UNIQUE</span></li>
|
||||
<li class="listitem"><span class="simpara">INDEX_QUALIFIER</span></li>
|
||||
<li class="listitem"><span class="simpara">INDEX_NAME</span></li>
|
||||
<li class="listitem"><span class="simpara">TYPE</span></li>
|
||||
<li class="listitem"><span class="simpara">SEQ_IN_INDEX</span></li>
|
||||
<li class="listitem"><span class="simpara">COLUMN_NAME</span></li>
|
||||
<li class="listitem"><span class="simpara">COLLATION</span></li>
|
||||
<li class="listitem"><span class="simpara">CARDINALITY</span></li>
|
||||
<li class="listitem"><span class="simpara">PAGES</span></li>
|
||||
<li class="listitem"><span class="simpara">FILTER_CONDITION</span></li>
|
||||
</ul>
|
||||
</p>
|
||||
<p class="simpara">
|
||||
The result set is ordered by NON_UNIQUE, TYPE, INDEX_QUALIFIER,
|
||||
INDEX_NAME and SEQ_IN_INDEX.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div></div></div></body></html>
|
||||
Reference in New Issue
Block a user