cvs: phpdoc /ja/chapters config.xml /ja/functions sesam.xml

From: Date: Sat, 16 Dec 2000 15:00:51 +0000
Subject: cvs: phpdoc /ja/chapters config.xml /ja/functions sesam.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333314@lists.php.net to get a copy of this message
hirokawa Sat Dec 16 07:00:51 2000 EDT Modified files: /phpdoc/ja/chapters config.xml /phpdoc/ja/functions sesam.xml Log: update translation.

Index: phpdoc/ja/chapters/config.xml diff -u phpdoc/ja/chapters/config.xml:1.7 phpdoc/ja/chapters/config.xml:1.8 --- phpdoc/ja/chapters/config.xml:1.7 Fri Oct 13 08:30:56 2000 +++ phpdoc/ja/chapters/config.xml Sat Dec 16 07:00:51 2000 @@ -614,7 +614,7 @@ </term> <listitem> <para> - PHP ファイルがユーザーのホームディレクトリとãã¦ä½¿ç”¨ã™ã‚‹ + PHP ファイルがユーザーのホームディレクトリとっf使用する ディレクトリの名前。 例えば、<literal>public_html</literal> となります。</para> </listitem> @@ -990,6 +990,73 @@ <listitem> <para> 継続的な接続を含む Postgres 接続のプロセス毎の最大数。 + </para> + </listitem> + </varlistentry> + + </variablelist> + </sect2> + + <sect2 id="ini.sect.sesam"> + <title>SESAM 設定ディレクティブ</title> + <variablelist> + + <varlistentry id="ini.sesam-oml"> + <term> + <parameter>sesam_oml</parameter> + <type>string</type> + </term> + <listitem> + <para> + ロード可能なSESAMドライバモジュールを含むBS2000 PLAM ライブラ + リの名前。SESAM関数を使用する際に必要。BS2000 PLAMライブラリは、 + ACCESS=READ,SHARE=YES に設定する必要があります。これは、Apache + サーバのユーザIDにより読み込み可能とする必要があるためです。 + </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.sesam-configfile"> + <term> + <parameter>sesam_configfile</parameter> + <type>string</type> + </term> + <listitem> + <para> + SESAMアプリケーション設定ファイルの名前。SESAM関数を使用する際 + に必要。BS2000 ファイルは、ApacheのユーザIDにより読み込み可だ+ する必要があります。 + </para> + <para> + アプリケーション設定ファイルは、通常、次のような設定を有してい + ます。(SESAMリファレンスを参照) + <informalexample> + <programlisting role="bs2000"> +CNF=B +NAM=K +NOTYPE + </programlisting> + </informalexample> + </para> + </listitem> + </varlistentry> + + <varlistentry id="ini.sesam-messagecatalog"> + <term> + <parameter>sesam_messagecatalog</parameter> + <type>string</type> + </term> + <listitem> + <para> + SESAMメッセージカタログファイルの名前。多くの場合、このディレ + クティブは不要です。SESAMメッセージファイルがシステムのBS2000 + メッセージファイルテーブルにインストールされていない場合にのみ + このディレクティブを設定することが可能です。 + </para> + <para> + メッセージカタログは、ACCESS=READ,SHARE=YES に設定する必要があ + ります。これは、Apache サーバのユーザIDから読み込み可能とする + 必要があります。 </para> </listitem> </varlistentry> Index: phpdoc/ja/functions/sesam.xml diff -u phpdoc/ja/functions/sesam.xml:1.1 phpdoc/ja/functions/sesam.xml:1.2 --- phpdoc/ja/functions/sesam.xml:1.1 Thu Dec 14 13:47:44 2000 +++ phpdoc/ja/functions/sesam.xml Sat Dec 16 07:00:51 2000 @@ -1,236 +1,258 @@ <reference id="ref.sesam"> - <title>SESAM database functions</title> + <title>SESAM データベース関数</title> <titleabbrev>SESAM</titleabbrev> <partintro> <para> - SESAM/SQL-Server is a mainframe database system, developed by - Fujitsu Siemens Computers, Germany. It runs on high-end - mainframe servers using the operating system BS2000/OSD. + SESAM/SQL-Server は、ドイツの Fujitsu Siemens コンピュータにより開 + 発されたメインフレーム上のデータベースシステムです。このデータベー + スは、ハイエンドのメインフレーム上でオペレーティングシステム + BS2000/OSD を使用して動作します。 </para> <para> - In numerous productive BS2000 installations, SESAM/SQL-Server - has proven ... + 数多くのBS2000システムにて実運用され、SESAM/SQL-Server は以下の事 + 項を実証しています。 <itemizedlist> - <listitem><simpara>the ease of use of Java-, Web- and client/server - connectivity,</simpara></listitem> - <listitem><simpara>the capability to work with an availability of more - than 99.99%,</simpara></listitem> - <listitem><simpara>the ability to manage tens and even hundreds of - thousands of users.</simpara></listitem> + <listitem> + <simpara> + Java、Web ベースのクライアント/サーバ接続が簡単に可能 + </simpara> + </listitem> + <listitem> + <simpara> + 99.99% 以上の確率で有効に動作する能力 + </simpara> + </listitem> + <listitem> + <simpara> + 数万から数十万のユーザを管理する能力 + </simpara> + </listitem> </itemizedlist> </para> <para> - Now there is a PHP3 SESAM interface available which allows - database operations via PHP-scripts. + PHPスクリプトによるデータベース処理を可能にする PHP3 SESAM インター + フェースが利用可能です。 </para> <note> - <title>Configuration notes</title> + <title>設定上の注意</title> <para> - There is no standalone support for the PHP SESAM interface, - it works only as an integrated Apache module. In the Apache PHP - module, this <link linkend="ini.sect.sesam">SESAM interface is - configured</link> using Apache directives. + PHP SESAMインタフェースは、スタンドアロン版をサポートしていません。 + Apache モジュール版として組み込まれた場合のみ動作します。Apache + PHP モジュールにおいて、<link linkend="ini.sect.sesam">SESAMイン + タフェース</link> は、Apache 用ディレクティブにより設定されます。 <table> - <title>SESAM Configuration directives</title> + <title>SESAM 設定用ディレクティブ</title> <tgroup cols="2"> <thead> <row> - <entry>Directive</entry> - <entry>Meaning</entry> + <entry>ディレクティブ</entry> + <entry>意味</entry> </row> </thead> <tbody> <row> <entry><literal>php3_sesam_oml</literal></entry> - <entry>Name of BS2000 PLAM library containing the - loadable SESAM driver modules. - Required for using SESAM functions. - <para> - Example: - <informalexample> - <programlisting role="apache"> + <entry> + ロード可能なSESAMドライバモジュールが含まれるBS2000 PLAM ラ + イブラリの名前。SESAM関数を使用するために必要。 + <para> + 例: + <informalexample> + <programlisting role="apache"> php3_sesam_oml $.SYSLNK.SESAM-SQL.030</programlisting> - </informalexample> - </para> - </entry> - </row> - <row> - <entry><literal>php3_sesam_configfile</literal></entry> - <entry>Name of SESAM application configuration file. - Required for using SESAM functions. - <para> - Example: - <informalexample> - <programlisting role="apache"> -php3_sesam_configfile $SESAM.SESAM.CONF.AW</programlisting></informalexample> - It will usually contain a configuration like (see SESAM - reference manual): - <informalexample> - <programlisting role="bs2000"> + </informalexample> + </para> + </entry> + </row> + <row> + <entry><literal>php3_sesam_configfile</literal></entry> + <entry> + SESAM + SESAMアプリケーション設定ファイルの名前。SESAM関数を使用する + 際に必要。 + <para> + 例: + <informalexample> + <programlisting role="apache"> +php3_sesam_configfile $SESAM.SESAM.CONF.AW + </programlisting> + </informalexample> + 通常、次のような設定が含まれます。(SESAMリファレンスマニュ + アルを参照) + <informalexample> + <programlisting role="bs2000"> CNF=B NAM=K -NOTYPE</programlisting> - </informalexample> - </para> - </entry> +NOTYPE + </programlisting> + </informalexample> + </para> + </entry> </row> <row> <entry><literal>php3_sesam_messagecatalog</literal></entry> - <entry>Name of SESAM message catalog file. - In most cases, this directive is not neccessary. Only if the - SESAM message file is not installed in the system's BS2000 - message file table, it can be set with this directive. - <para> - Example: - <informalexample> - <programlisting role="apache"> -php3_sesam_messagecatalog $.SYSMES.SESAM-SQL.030</programlisting> - </informalexample> - </para> - </entry> + <entry> + SESAMメッセージカタログファイルの名前。多くの場合、このディ + レクティブは不要です。SESAMメッセージファイルがシステム + BS2000メッセージファイルてーぶりにインストールされていない場 + 合にのみ、このディレクティブを設定することが可能です。 + <para> + 例: + <informalexample> + <programlisting role="apache"> +php3_sesam_messagecatalog $.SYSMES.SESAM-SQL.030 + </programlisting> + </informalexample> + </para> + </entry> </row> </tbody> </tgroup> </table> </para> <para> - In addition to the configuration of the PHP/SESAM interface, - you have to configure the SESAM-Database server itself on your - mainframe as usual. That means: + PHP/SESAMインターフェースの設定に加えて、メインフレーム上のSESAM + データベースサーバー自体を設定する必要があります。これは、次のよ + うになります。 <itemizedlist> - <listitem><simpara>starting the SESAM database handler (DBH), and</simpara></listitem> - <listitem><simpara>connecting the databases with the SESAM database - handler</simpara></listitem> + <listitem> + <simpara> + SESAMデータベースハンドラ(DBH)を開始 + </simpara> + </listitem> + <listitem> + <simpara> + SESAMデータベースハンドラを指定して、データベースに接続 + </simpara> + </listitem> </itemizedlist> </para> + <para> + PHPスクリプトとデータベースハンドラの間の接続を得るには、選択した + SESAM設定ファイルのパラメータ <literal>CNF</literal> および + <literal>NAM</literal> が実行中のデータベースハンドラのIDに一致し + ている必要があります。 + </para> + <para> + 分散型データベースの場合、ホストおよびデータベース名を有する分配 + テーブルを指定してSESAM/SQL-DCNエージェントを開始する必要がありま + す。 + </para> <para> - To get a connection between a PHP script and the database - handler, the <literal>CNF</literal> and <literal>NAM</literal> - parameters of the selected SESAM configuration file must match - the id of the started database handler. - </para> - <para> - In case of distributed databases you have to start a - SESAM/SQL-DCN agent with the distribution table including the - host and database names. - </para> - <para> - The communication between PHP (running in the POSIX subsystem) - and the database handler (running outside the POSIX subsystem) - is realized by a special driver module called SQLSCI and SESAM - connection modules using common memory. - Because of the common memory access, and because PHP is a - static part of the web server, database accesses are very fast, - as they do not require remote accesses via ODBC, JDBC or UTM. - </para> - <para> - Only a small stub loader (SESMOD) is linked with PHP, and the - SESAM connection modules are pulled in from SESAM's OML PLAM - library. In the <link - linkend="ini.sect.sesam">configuration</link>, you must tell - PHP the name of this PLAM library, and the file link to use for - the SESAM configuration file (As of SESAM V3.0, SQLSCI is - available in the SESAM Tool Library, which is part of the - standard distribution). - </para> - <para> - Because the SQL command quoting for single quotes uses duplicated - single quotes (as opposed to a single quote preceded by a - backslash, used in some other databases), it is advisable to - set the PHP configuration directives <link + (POSIXサブシステムで実行されている)PHPと(POSIXサブシステムの外で + 実行されている)データベースハンドラの間の通信は、SQLSCIという名前 + の特別なドライバモジュールと通常メモリを使用するSESAM接続モジュー + ルで実現されます。通常メモリアクセスのため、そして、PHPはWebサー + バの静的部分であるため、ODBC、JDBC、UTM経由のリモートアクセスは不 + 要であり、データベースへのアクセスは非常に高速です。 + </para> + <para> + スモールスタブローダ(SESMOD)のみがPHPにリンクされており、SESAM接 + 続モジュールはSESAMのOML PLAMライブラリからロードされます。 + <link linkend="ini.sect.sesam">設定</link>の際、このPLAMライブラ + リの名前とSESAM設定ファイルを使用するためのファイルリンクをPHPに + 指定する必要があります。(SESAM V3.0 において、SQLSCI は標準配布の + SESAMツールライブラリから入手可能です) + </para> + <para> + SQLコマンドにおけるシングルクオートのクオートは、(シングルクオー + トの前にバックスラッシュを付加するのではなく、)シングルクオートを + 2つ重ねて使用するため、SESAMインターフェースを使用する全てのPHPス + クリプトについて、PHP設定ディレクティブで <link linkend="ini.magic-quotes-gpc"><literal>php3_magic_quotes_gpc</literal></link> - and <link - linkend="ini.magic-quotes-sybase"><literal>php3_magic_quotes_sybase</literal></link> - to <literal>On</literal> for all PHP scripts using the SESAM - interface. + および <link linkend="ini.magic-quotes-sybase"> + <literal>php3_magic_quotes_sybase</literal></link> を + <literal>On</literal> にしておく方が賢明でしょう。 </para> </note> <note> - <title>Runtime considerations</title> + <title>実行時の考慮</title> <para> - Because of limitations of the BS2000 process model, the driver can - be loaded only after the Apache server has forked off its server child - processes. This will slightly slow down the initial SESAM request - of each child, but subsequent accesses will respond at full speed. - </para> - <para> - When explicitly defining a Message Catalog for SESAM, that - catalog will be loaded each time the driver is loaded (i.e., at - the initial SESAM request). The BS2000 operating system prints - a message after successful load of the message catalog, which - will be sent to Apache's error_log file. BS2000 currently does - not allow suppression of this message, it will slowly fill up - the log. - </para> - <para> - Make sure that the SESAM OML PLAM library and SESAM - configuration file are readable by the user id running the web server. - Otherwise, the server will be unable to load the driver, and - will not allow to call any SESAM functions. Also, access to - the database must be granted to the user id under which the - Apache server is running. Otherwise, connections to the - SESAM database handler will fail. + BS2000 モデルの制限のために、ドライバは、Apache サーバがそのサー + バの子プロセスをフォークした後にのみロード可能となります。これは、 + 各子プロセスの最初のSESAMリクエストを若干遅くしますが、その後のア + クセスへの応答は最高速度となります。 + </para> + <para> + SESAM用の明示的にメッセージカタログを定義した場合、そのカタログは + ドライバがロードされる度(すなわち、最初のSESAMリクエスト時に)にロー + ドされます。BS2000 オペレーティングシステムはメッセージカタログの + ロードに成功した後にメッセージを出力します。このメッセージは、 + Apacheのerror_logファイルに送信されます。BS2000は現在、このメッセー + ジの出力を停止することができません。このため、ログを段々と埋めて + いきます。 + </para> + <para> + SESAM OML PLAM ライブラリとSESAM設定ファイルは、Webサーバを実行し + ているユーザIDから読み込み可能であることを確認して下さい。そうで + ない場合、サーバはドライバをロードすることができず、SESAM関数をコー + ルすることができません。また、Apacheサーバを実行しているユーザID + にデータベースへのアクセスが許可されている必要があります。そうで + ない場合、SESAMデータベースハンドラへの接続は失敗します。 </para> </note> <note> - <title>Cursor Types</title> - <para> - The result cursors which are allocated for SQL "select type" - queries can be either "sequential" or "scrollable". Because - of the larger memory overhead needed by "scrollable" cursors, - the default is "sequential". - </para> + <title>カーソル型</title> <para> - When using "scrollable" cursors, the cursor can be freely - positioned on the result set. For each "scrollable" query, - there are global default values for the scrolling type - (initialized to: <literal>SESAM_SEEK_NEXT</literal>) and - the scrolling offset which can either be set once - by <function>sesam_seek_row</function> or - each time when fetching a row using - <function>sesam_fetch_row</function>. When fetching a row - using a "scrollable" cursor, the following post-processing is - done for the global default values for the scrolling type - and scrolling offset: + SQL "select 型"クエリ用に確保された結果カーソルは、"sequential"ま + たは"scrollable"のどちらかとすることが可能です。"scrollable"カー + ソルで必要なメモリオーバヘッドはより大きいため、デフォルトは + "sequential" です。 + </para> + <para> + "scrollable"カーソルを使用した場合、カーソルは結果集合の中で自由 + に移動可能です。各"scrollable"クエリについて、スクロール型のグロー + バルなデフォルト値(<literal>SESAM_SEEK_NEXT</literal>に初期化され + ます)があり、スクロールオフセットは、 + <function>sesam_seek_row</function> により一回設定されるか、 + <function>sesam_fetch_row</function> によりレコードを取得する度に + 設定されるかのどちらかです。"scrollable"カーソルを使用してレコー + ドを取得する際に、スクロール型およびスクロールオフセットのグロー + バルデフォルト値について次のようなポスト処理行われます。 <table> - <title>Scrolled Cursor Post-Processing</title> + <title>スクロール後のカーソルに関するポスト処理</title> <tgroup cols="2"> <thead> <row> - <entry>Scroll Type</entry> - <entry>Action</entry> + <entry>スクロール型</entry> + <entry>動作</entry> </row> </thead> <tbody> <row> - <entry><literal>SESAM_SEEK_NEXT</literal></entry> - <entry>none</entry> + <entry><literal>SESAM_SEEK_NEXT</literal></entry> + <entry>なし</entry> </row> <row> - <entry><literal>SESAM_SEEK_PRIOR</literal></entry> - <entry>none</entry> + <entry><literal>SESAM_SEEK_PRIOR</literal></entry> + <entry>なし</entry> </row> <row> - <entry><literal>SESAM_SEEK_FIRST</literal></entry> - <entry>set scroll type to - <literal>SESAM_SEEK_NEXT</literal></entry> + <entry><literal>SESAM_SEEK_FIRST</literal></entry> + <entry> + スクロール型を <literal>SESAM_SEEK_NEXT</literal> に設定 + </entry> </row> <row> - <entry><literal>SESAM_SEEK_LAST</literal></entry> - <entry>set scroll type to - <literal>SESAM_SEEK_PRIOR</literal></entry> + <entry><literal>SESAM_SEEK_LAST</literal></entry> + <entry> + スクロール型を <literal>SESAM_SEEK_PRIOR</literal> に設定 + </entry> </row> <row> - <entry><literal>SESAM_SEEK_ABSOLUTE</literal></entry> - <entry>Auto-Increment internal offset value</entry> + <entry><literal>SESAM_SEEK_ABSOLUTE</literal></entry> + <entry> + 内部オフセット値を自動的に増加させる + </entry> </row> <row> - <entry><literal>SESAM_SEEK_RELATIVE</literal></entry> - <entry>none. (maintain global default - <parameter>offset</parameter> value, which allows - for, e.g., fetching each 10th row backwards) - </entry> + <entry><literal>SESAM_SEEK_RELATIVE</literal></entry> + <entry> + なし。(グローバルデフォルト値 <parameter>offset</parameter> + を保持する。これにより、例えば、10個前のレコードを取得すると + いったことが可能になります) + </entry> </row> </tbody> </tgroup> @@ -238,57 +260,54 @@ </para> </note> <note> - <title> - Porting note - </title> + <title>移植時の注意</title> <para> - Because in the PHP world it is natural to start indexes at zero - (rather than 1), some adaptions have been made to the SESAM - interface: whenever an indexed array is starting with index 1 - in the native SESAM interface, the PHP interface uses - index 0 as a starting point. E.g., when retrieving columns with - <function>sesam_fetch_row</function>, the first column has the - index 0, and the subsequent columns have indexes up to (but not - including) the column count ($array["count"]). - When porting SESAM applications from other high level languages - to PHP, be aware of this changed interface. Where appropriate, - the description of the respective php sesam functions include a - note that the index is zero based. + PHPでは、配列の添字は(1よりも)0から始まるのが普通なため、いくつか + の調整がSESAMインターフェースで行われています。ある添字配列がネー + ティブのSESAMインターフェースで添字1から始まる際には、PHPインター + フェースでは最初の添字として0を使用します。例えば、 + <function>sesam_fetch_row</function> でカラムを取得する際に、最初 + のカラムの添字は0であり、その後のカラム番号はカラム数 + ($array["count"])に達するまで(カラム数は含まず)増えていきます。 + SESAMアプリケーションを他の高級言語からPHPに移植する際には、この + インターフェース上の変更に留意する必要があります。各PHP sesam 関 + 数の説明の適切な場所に添字が0から始まるという注意が含まれています。 </para> </note> <note> - <title>Security concerns</title> + <title>セキュリティの考慮</title> <para> - When allowing access to the SESAM databases, the web server - user should only have as little privileges as possible. For most - databases, only read access privilege should be granted. - Depending on your usage scenario, add more access rights as - you see fit. Never allow full control to any database for - any user from the 'net! Restrict access to php scripts - which must administer the database by using password control - and/or SSL security. + SESAMデータベースへのアクセスが可能な場合、Webサーバのユーザは、 + 可能な限り小さな権限のみを有している必要があります。多くのデータ + ベースでは許可する必要があるのは読み込み権限のみです。使用する設 + 定に応じて状況に見合ったアクセス権限を追加して下さい。決してネッ + トからの全てのユーザに全てのデータベースへの完全な制御権を許可し + ないで下さい! データベースを管理するPHPスクリプトへのアクセス制限 + は、パスワード制限またはSSLセキュリティにより制限して下さい。 </para> </note> <note> - <title>Migration from other SQL databases</title> + <title>他のSQLデータベースからの移行</title> <para> - No two SQL dialects are ever 100% compatible. When porting - SQL applications from other database interfaces to SESAM, - some adaption may be required. The following typical - differences should be noted: + SQLには方言があるため100%互換ではありません。他のデータベースイン + ターフェースからSQLアプリケーションをSESAMに移植する際には、いく + つかの修正が必要になる可能性があります。次のような典型的な差異に + 注意する必要があります。 <itemizedlist> <listitem> - <simpara>Vendor specific data types</simpara> - <simpara>Some vendor specific data types may have to be - replaced by standard SQL data types - (e.g., <literal>TEXT</literal> could be replaced by - <literal>VARCHAR(max. size)</literal>). + <simpara>ベンダ専用のデータ型</simpara> + <simpara> + いくつかのベンダ専用のデータ型は、標準的なSQLデータ型で置換す + る必要があります。(例えば、<literal>TEXT</literal> は + <literal>VARCHAR(max. size)</literal>で置換可能です。) </simpara> </listitem> <listitem> <simpara>Keywords as SQL identifiers</simpara> - <simpara>In SESAM (as in standard SQL), such identifiers must - be enclosed in double quotes (or renamed).</simpara> + <simpara> + In SESAM (as in standard SQL), such identifiers must + be enclosed in double quotes (or renamed). + </simpara> </listitem> <listitem> <simpara>Display length in data types</simpara> @@ -314,38 +333,42 @@ </listitem> <listitem> <simpara><command>int ... DEFAULT '0000'</command></simpara> - <simpara>Numeric variables must not be initialized with - string constants. Use <command>DEFAULT 0</command> - instead. To initialize variables of the datetime - SQL data types, the initialization string must be - prefixed with the respective type keyword, as in: - <literal> CREATE TABLE exmpl ( + <simpara> + Numeric variables must not be initialized with + string constants. Use <command>DEFAULT 0</command> + instead. To initialize variables of the datetime + SQL data types, the initialization string must be + prefixed with the respective type keyword, as in: + <literal> CREATE TABLE exmpl ( xtime timestamp(3) DEFAULT TIMESTAMP '1970-01-01 00:00:00.000' NOT NULL - ); </literal> + ); + </literal> </simpara> </listitem> <listitem> <simpara><command>$count = xxxx_num_rows();</command></simpara> - <simpara>Some databases promise to guess/estimate the - number of the rows in a query result, even though - the returned value is grossly incorrect. SESAM - does not know the number of rows in a query result - before actually fetching them. If you REALLY need - the count, try <command>SELECT COUNT(...) WHERE - ...</command>, it will tell you the number of hits. - A second query will (hopefully) return the results. + <simpara> + Some databases promise to guess/estimate the + number of the rows in a query result, even though + the returned value is grossly incorrect. SESAM + does not know the number of rows in a query result + before actually fetching them. If you REALLY need + the count, try <command>SELECT COUNT(...) WHERE + ...</command>, it will tell you the number of hits. + A second query will (hopefully) return the results. </simpara> </listitem> <listitem> <simpara><command>DROP TABLE thename;</command></simpara> - <simpara>In SESAM, in the <command>DROP TABLE</command> - command, the table name must be either followed by - the keyword <literal>RESTRICT</literal> or - <literal>CASCADE</literal>. When specifying - <literal>RESTRICT</literal>, an error is returned if - there are dependent objects (e.g., VIEWs), while with - <literal>CASCADE</literal>, dependent objects will be - deleted along with the specified table. + <simpara> + In SESAM, in the <command>DROP TABLE</command> + command, the table name must be either followed by + the keyword <literal>RESTRICT</literal> or + <literal>CASCADE</literal>. When specifying + <literal>RESTRICT</literal>, an error is returned if + there are dependent objects (e.g., VIEWs), while with + <literal>CASCADE</literal>, dependent objects will be + deleted along with the specified table. </simpara> </listitem> </itemizedlist> @@ -449,10 +472,10 @@ <refentry id="function.sesam-connect"> <refnamediv> <refname>sesam_connect</refname> - <refpurpose>Open SESAM database connection</refpurpose> + <refpurpose>SESAM データベース接続をオープンする</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>boolean <function>sesam_connect</function></funcdef> @@ -513,7 +536,7 @@ <refpurpose>Detach from SESAM connection</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>boolean <function>sesam_disconnect</function></funcdef> @@ -562,7 +585,7 @@ <refpurpose>Set SESAM transaction parameters</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>boolean <function>sesam_settransaction</function></funcdef> @@ -676,7 +699,7 @@ <refpurpose>Commit pending updates to the SESAM database</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>boolean <function>sesam_commit</function></funcdef> @@ -725,7 +748,7 @@ <refpurpose>Discard any pending updates to the SESAM database</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>boolean <function>sesam_rollback</function></funcdef> @@ -773,7 +796,7 @@ <refpurpose>Execute an "immediate" SQL-statement</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>string <function>sesam_execimm</function></funcdef> @@ -831,7 +854,7 @@ <refpurpose>Perform a SESAM SQL query and prepare the result</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>string <function>sesam_query</function></funcdef> @@ -943,7 +966,7 @@ <refpurpose>Return the number of fields/columns in a result set</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>int <function>sesam_num_fields</function></funcdef> @@ -979,7 +1002,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>int <function>sesam_field_name</function></funcdef> @@ -1012,7 +1035,7 @@ <refpurpose>Return status information for last SESAM call</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>array <function>sesam_diagnostic</function></funcdef> @@ -1154,10 +1177,10 @@ <refentry id="function.sesam-fetch-result"> <refnamediv> <refname>sesam_fetch_result</refname> - <refpurpose>Return all or part of a query result</refpurpose> + <refpurpose>クエリ結果の全てあるいは一部を返す</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>mixed <function>sesam_fetch_result</function></funcdef> @@ -1175,13 +1198,13 @@ Note that both row and column indexes are zero-based. <table> <title> - Mixed result set returned by <function>sesam_fetch_result</function> + <function>sesam_fetch_result</function>により返された種々の結果集合 </title> <tgroup cols="2"> <thead> <row> - <entry>Array Element</entry> - <entry>Contents</entry> + <entry>配列要素</entry> + <entry>定数</entry> </row> </thead> <tbody> @@ -1248,7 +1271,7 @@ <refpurpose>Get number of rows affected by an immediate query</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>int <function>sesam_affected_rows</function></funcdef> @@ -1297,7 +1320,7 @@ <refpurpose>Returns error message of last SESAM call</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>string <function>sesam_errormsg</function></funcdef> @@ -1329,7 +1352,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>array <function>sesam_field_array</function></funcdef> @@ -1521,7 +1544,7 @@ <refpurpose>Fetch one row as an array</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>array <function>sesam_fetch_row</function></funcdef> @@ -1691,7 +1714,7 @@ <refpurpose>Fetch one row as an associative array</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>array <function>sesam_fetch_array</function></funcdef> @@ -1808,11 +1831,11 @@ <refnamediv> <refname>sesam_seek_row</refname> <refpurpose> - Set scrollable cursor mode for subsequent fetches + 連続的に取得する際にスクロール可能なカーソルモードに設定する </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>boolean <function>sesam_seek_row</function></funcdef> @@ -1824,9 +1847,9 @@ </funcprototype> </funcsynopsis> <para> - <parameter>result_id</parameter> is a valid result id (select - type queries only, and only if a "scrollable" cursor was - requested when calling <function>sesam_query</function>). + <parameter>result_id</parameter> は有効な結果IDです。(select + 型のクエリで、かつ、<function>sesam_query</function>をコール + した際に"スクロール可能な"カーソルが要求された場合のみ) </para> <para> <parameter>whence</parameter> sets the global default value @@ -1905,10 +1928,10 @@ <refentry id="function.sesam-free-result"> <refnamediv> <refname>sesam_free_result</refname> - <refpurpose>Releases resources for the query</refpurpose> + <refpurpose>クエリに関するリソースを開放する</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>int <function>sesam_free_result</function></funcdef> @@ -1916,9 +1939,8 @@ </funcprototype> </funcsynopsis> <para> - Releases resources for the query associated with - <parameter>result_id</parameter>. Returns - <literal>FALSE</literal> on error. + <parameter>result_id</parameter> が指すクエリに関するリソースを開 + 放します。エラーの場合に <literal>FALSE</literal> を返します。 </para> </refsect1> </refentry>
« previous php.doc (#969333314) next »