-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathdb2-tables.xml
194 lines (189 loc) · 6.27 KB
/
db2-tables.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 871b71764cdca8238069f27436d96011a6a2cb36 Maintainer: takagi Status: ready -->
<refentry xml:id="function.db2-tables" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>db2_tables</refname>
<refpurpose>
データベース内のテーブルおよび関連するメタデータを含む結果セットを返す
</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>resource</type><methodname>db2_tables</methodname>
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>qualifier</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>schema</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>table_name</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>table_type</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
データベース内のテーブルおよび関連するメタデータを含む結果セットを返します。
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>connection</parameter></term>
<listitem>
<para>
IBM DB2、Cloudscape あるいは Apache Derby データベースへの有効な接続。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>qualifier</parameter></term>
<listitem>
<para>
OS/390 あるいは z/OS サーバー上で稼動している DB2 データベースの修飾子。
その他のデータベースの場合には &null; あるいは空の文字列を渡します。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>schema</parameter></term>
<listitem>
<para>
テーブルを含むスキーマ。このパラメータでは、ワイルドカードとして
<literal>_</literal> および <literal>%</literal>
を含む検索パターンを使用可能です。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>table_name</parameter></term>
<listitem>
<para>
テーブルの名前。このパラメータでは、ワイルドカードとして
<literal>_</literal> および <literal>%</literal>
を含む検索パターンを使用可能です。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>table_type</parameter></term>
<listitem>
<para>
テーブル型の識別子をカンマで区切ったリスト。
すべてのテーブル型を指定するには、&null; あるいは空の文字列を指定します。
有効なテーブル型識別子は
ALIAS、HIERARCHY TABLE、INOPERATIVE VIEW、NICKNAME、
MATERIALIZED QUERY TABLE、SYSTEM TABLE、TABLE、TYPED TABLE、TYPED VIEW
および VIEW です。
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
指定したパラメータに一致するテーブルの情報を含む結果セットのリソースを返します。
行の内容は、以下のカラムで構成されています。
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>カラム名</entry>
<entry>説明</entry>
</row>
</thead>
<tbody>
<row>
<entry>TABLE_CAT</entry>
<entry>
テーブルを含むカタログ。テーブルがカタログを保持していない場合は &null;。
</entry>
</row>
<row>
<entry>TABLE_SCHEM</entry>
<entry>テーブルを含むスキーマの名前。</entry>
</row>
<row>
<entry>TABLE_NAME</entry>
<entry>テーブルの名前。</entry>
</row>
<row>
<entry>TABLE_TYPE</entry>
<entry>テーブルの型識別子。</entry>
</row>
<row>
<entry>REMARKS</entry>
<entry>テーブルの説明。</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>db2_tables</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>db2_column_privileges</function></member>
<member><function>db2_columns</function></member>
<member><function>db2_foreign_keys</function></member>
<member><function>db2_primary_keys</function></member>
<member><function>db2_procedure_columns</function></member>
<member><function>db2_procedures</function></member>
<member><function>db2_special_columns</function></member>
<member><function>db2_statistics</function></member>
<member><function>db2_table_privileges</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->