You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by tm...@apache.org on 2008/01/05 09:25:38 UTC

svn commit: r609101 [23/26] - in /db/derby/docs/trunk: ./ src/ja_JP/ src/ja_JP/ref/

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj43125.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj43125.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj43125.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj43125.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rrefsqlj43125" xml:lang="en-us">
+<title>CREATE TRIGGER 文</title>
+<prolog><metadata>
+<keywords><indexterm>CREATE TRIGGER statement</indexterm><indexterm>SQL statements<indexterm>CREATE
+TRIGGER</indexterm></indexterm><indexterm>triggers<indexterm>creating</indexterm></indexterm>
+<indexterm>triggers<indexterm>defining when they fire</indexterm></indexterm>
+<indexterm>triggers<indexterm>database events</indexterm></indexterm><indexterm>triggers<indexterm>referencing
+clause</indexterm><indexterm>referencing old and new values</indexterm></indexterm>
+<indexterm>triggers<indexterm>statement versus row triggers</indexterm></indexterm>
+<indexterm>triggers<indexterm>triggered-SQL-statement</indexterm></indexterm>
+<indexterm>triggers<indexterm>order of execution</indexterm></indexterm><indexterm>triggers<indexterm>recursion</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>トリガによりデータベースのイベントに応じて実行されるアクションの集合を、表に定義することができます。ここで<i>データベースのイベント</i>とは削除、挿入、更新処理のことです。
+例えば表に削除へのトリガを定義した場合、そのトリガのアクションは表から行が削除されるときに実行されます。</p><p>制約と併せて、トリガによる波及的な削除や更新を定義することで、情報の整合性を保つことができます。
+トリガで実現できる機能はこのほかにも、警告の呈示や、他の表の更新、e-mailの送信やその他の処理など、多岐にわたります。</p><p>ひとつの表に定義可能なトリガの数には、それらのトリガが同じイベントへのトリガであるか否かにかかわらず、上限はありません。</p>
+<p>スキーマの所有者であるユーザであれば、そのスキーマにトリガを作成することができます。
+所有していない表にトリガを定義するためには、その表にTRIGGER権限を持っていなければなりません。
+<xref href="rrefattrib26867.dita#rrefattrib26867">データベースの所有者</xref>であるユーザであれば、どのスキーマのどの表に対してもトリガを作成することができます。</p>
+<p>トリガはトリガが定義されている表とは異なるスキーマに定義することも可能です。</p>
+<p>限定されたトリガ名のスキーマ名は、<i>SYS</i>で始まってはなりません。</p></section>
+<refsyn id="syn001"><title>構文</title><codeblock><b>CREATE TRIGGER <i><xref
+href="rreftriggername.dita#rreftriggername">トリガ名</xref></i>
+{ AFTER | NO CASCADE BEFORE } 
+{ INSERT | DELETE | UPDATE [ OF <i>列名</i> [, <i><xref href="rrefcolumnname.dita#rrefcolumnname">列名</xref></i>]* ] }
+ON <i><xref href="rreftablename.dita#rreftablename">表名</xref></i>
+[ <i><xref href="rrefsqlj89752.dita#rrefsqlj89752">参照節</xref></i> ]
+[ FOR EACH { ROW | STATEMENT } ] [ MODE DB2SQL ] 
+<i><xref href="rrefsqlj43125.dita#rrefsqlj43125/i1149821">トリガされるSQL文</xref></i></b></codeblock> </refsyn>
+<section><title>トリガの発火が前か後か</title> <p>トリガは<i>前のトリガ</i>あるいは<i>後のトリガ</i>のいずれかとして定義できます。<ul>
+<li><i>前のトリガ</i>は文による変更が適用され制約による検証が行われる前に発火します。
+前のトリガは、行のトリガあるいは文のトリガのいずれにもなることができます。(詳細は<xref href="rrefsqlj43125.dita#rrefsqlj43125/sqlj54276"></xref>を参照してください。)</li>
+<li><i>後のトリガ</i>は変更が適用され制約による検証が満たされた後に発火します。
+<i>後のトリガ</i>は、行のトリガあるいは文のトリガのいずれにもなることができます。(詳細は<xref href="rrefsqlj43125.dita#rrefsqlj43125/sqlj54276"></xref>を参照してください。)</li>
+</ul></p> </section>
+<section><title>挿入、削除、更新のいずれによりトリガは発火されるのか</title> 
+<p>トリガはどのように定義されたかに従って、次のいずれかのデータベースのイベントにより発火します。(上記の<xref href="rrefsqlj43125.dita#rrefsqlj43125/syn001"></xref>を参照してください。<ul>
+<li>INSERT</li>
+<li>UPDATE</li>
+<li>DELETE</li>
+</ul></p> 
+<p>表のイベントごとに定義できるトリガの数に上限はありません。さらに更新へのトリガであれば、対象となる列を明示することができます。</p> </section>
+<section id="sqlj67748"><title>古い値を参照するのか、新しい値を参照するのか:参照節</title> 
+<p>発火の原因となったイベントで現在変更された情報をトリガされるSQL文から参照することは良くあることです。
+また、トリガされるSQL文が参照しなければならないのは新しい値(変更後、後の値、と言うこともできます)である場合があります。</p> 
+<p><ph conref="../conrefs.dita#prod/productshortname"></ph>にて、発火した原因となったイベントにより変更された情報をトリガから参照する方法はひとつだけではありません。変更された情報はトリガされるSQL文から、<i>遷移変数</i>あるいは<i>遷移表</i>で参照することができます。
+参照節にて遷移変数への相関名や別名を、OLD/NEW AS <i>相関名</i>という書式で記述できます。</p> 
+<p>例えば、次のような節をトリガの定義に記述した場合。<codeblock><b>REFERENCING OLD AS DELETEDROW</b></codeblock></p> 
+<p>トリガされるSQL文でこの相関名を参照できます。<codeblock><b>DELETE FROM HotelAvailability WHERE hotel_id = DELETEDROW.hotel_id</b
+></codeblock></p> <p>遷移変数はOLDかNEWのいずれかに関わらず、単一の行を持つ<i>java.sql.ResultSet</i>にマップされます。<note>遷移変数を使えるのは、行のトリガだけです。(<xref href="rrefsqlj43125.dita#rrefsqlj43125/sqlj54276"></xref>を参照してください。)
+また、挿入イベントの行のトリガではOLDの行を参照できません。削除イベントの行のトリガではNEWの行を参照できません。</note></p> 
+<p>文のトリガでは、遷移<i>表</i>をトリガされるSQL文やトリガの資格で参照可能です。
+参照節にて参照表への相関名や別名を、OLD_TABLE/NEW_TABLE AS 相関名という書式で記述できます。</p>
+<p>例えば、
+  <codeblock><b>REFERENCING OLD_TABLE AS DeletedHotels</b></codeblock></p> 
+<p>と書くことで識別子(<i>DeletedHotels</i>)をトリガされるSQL文で使うことができます。
+  <codeblock><b>DELETE FROM HotelAvailability WHERE hotel_id IN
+    (SELECT hotel_id FROM DeletedHotels)</b></codeblock></p> 
+<p>遷移表は古いか新しいかに関わらず、トリガが着火した原因のイベントで影響を受けた行の数と同じ基数をもつ<i>java.sql.ResultSet</i>にマップされます。
+<note>文のトリガ(<xref href="rrefsqlj43125.dita#rrefsqlj43125/sqlj54276"></xref>を参照してください。)でのみ遷移表は利用可能です。
+INSERT文へのトリガでは、OLDの表は参照できません。DELETE文へのトリガでは、NEWの表は参照できません。</note></p> 
+<p>参照節では、新しいものと古いものにそれぞれ一つまで、相関名あるいは識別子を定義できます。
+また、行のトリガには遷移表の識別子を定義できない一方で、文のトリガには遷移変数の相関名を定義できません。</p> </section>
+<section id="sqlj54276"><title>文のトリガと行のトリガ</title> 
+<p>トリガには、<i>文のトリガ</i>と<i>行のトリガ</i>があります。
+CREATE TRIGGER文のFOR EACH節にて、どちらのトリガであるか明示されなかった場合の既定は、<i>文のトリガ</i>です。
+  <ul>
+<li><i>文のトリガ</i>   <p>文のトリガはトリガのイベント毎に一回発火します。トリガの発火に挿入・更新・削除にて何行が変更されたかは関係ありません。</p></li>
+<li><i>行のトリガ</i>   <p>行のトリガはトリガのイベントが影響する行毎に一回発火します。影響が一行にも及ばなかった場合、トリガは発火しません。</p></li>
+</ul> <note>列の値を元の値と等しい値に変更した場合(例えば、UPDATE T SET C = Cという文を考えてください。)、トリガのイベント前と後で列の値に変化が無くても、行のトリガは発火します。</note></p> </section>
+<section id="i1149821"><title>トリガされるSQL文</title> 
+<p>トリガで定義されるアクションのことを、トリガされるSQL文と呼びます。(上記、<xref href="rrefsqlj43125.dita#rrefsqlj43125/syn001"></xref>の最終行をを参照してください。)
+トリガされるSQL文には以下の制限があります。<ul>
+<li>動的な引数(?)があってはなりません。</li>
+<li>トリガが定義されている表の作成や、変更、破棄を行ってはなりません。</li>
+<li>トリガが定義されている表への索引の作成や破棄を行ってはなりません。</li>
+<li>トリガが定義されている表へのトリガの作成や破棄を行ってはなりません。</li>
+<li>トランザクションのコミットやロールバック、分離レベルの変更を行ってはなりません。</li>
+<li>前のトリガのアクションにINSERT/UPDATE/DELETE文があってはなりません。</li>
+<li>前のトリガのアクションで更新を行う手続きを呼び出してはなりません。</li>
+</ul></p><p>トリガされるSQL文ではトリガが定義された表以外のデータベースの情報を参照することができます。それらのデータベースの情報が破棄されていた場合、トリガは無効となります。
+次回の実行にてトリガの再コンパイルが失敗した場合、呼び出しは例外を投げて、トリガを発火させた文はロールバックされます。</p>
+<p>トリガされるSQL文の詳細については、<cite><ph conref="../conrefs.dita#pub/citdevelop"></ph></cite>を参照してください。</p> </section>
+<section><title>実行の順序</title> <p>トリガを発火させるデータベースのイベントが起きると、<ph conref="../conrefs.dita#prod/productshortname"></ph>は処理を次の順で行います。<ul>
+<li>最初に<i>No Cascade Before</i>なトリガのアクションを実行します。</li>
+<li>次に、制約(主キー、一意キー、外部キー)の検証を行います。</li>
+<li>続いて、更新、変更、削除などの処理を行います。</li>
+<li>最後に<i>After</i>なトリガを発火します。</li>
+</ul></p> <p>同じ表に対して、同じイベントの、発火する時(トリガが前か後かという意味です。)が同じトリガが複数定義されていた場合、トリガは作成された順に実行されます。</p> </section>
+<example> <codeblock><b><ph>-- 文とトリガ
+</ph>
+CREATE TRIGGER t1 NO CASCADE BEFORE UPDATE ON x
+  FOR EACH ROW MODE DB2SQL
+  values app.notifyEmail('Jerry', 'Table x is about to be updated'); 
+
+CREATE TRIGGER FLIGHTSDELETE
+  AFTER DELETE ON FLIGHTS
+  REFERENCING OLD_TABLE AS DELETEDFLIGHTS
+  FOR EACH STATEMENT 
+  DELETE FROM FLIGHTAVAILABILITY WHERE FLIGHT_ID IN
+  (SELECT FLIGHT_ID FROM DELETEDFLIGHTS);
+
+CREATE TRIGGER FLIGHTSDELETE3
+  AFTER DELETE ON FLIGHTS
+  REFERENCING OLD AS OLD
+  FOR EACH ROW 
+  DELETE FROM FLIGHTAVAILABILITY WHERE FLIGHT_ID = OLD.FLIGHT_ID;
+</b></codeblock> <note><cite><ph conref="../conrefs.dita#pub/citdevelop"></ph></cite>にはより多くの例が書かれています。</note> </example>
+<section><title>トリガの再帰</title> <p>トリガの再帰は最大16までです。</p> </section>
+<section><title>関連する情報</title> 
+<p>現在の時刻や現在のユーザを返す特殊システム関数は、トリガを作成したときではなく、トリガが発火したときに評価されます。このような関数には以下のものがあります。<ul>
+<li><xref href="rrefsqlj34177.dita#rrefsqlj34177"></xref></li>
+<li><xref href="rrefsqlj33772.dita#rrefsqlj33772"></xref></li>
+<li><xref href="rrefsqlj15866.dita#rrefsqlj15866"></xref></li>
+<li><xref href="rrefsqlj42324.dita#rrefsqlj42324"></xref></li>
+<li><xref href="rrefsqlj25228.dita#rrefsqlj25228"></xref></li>
+<li><xref href="rrefsqlj42476.dita#rrefsqlj42476"></xref></li>
+</ul></p> </section>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj43125.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj55788.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj55788.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj55788.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj55788.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+ 
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rrefsqlj55788" xml:lang="en-us">
+<title>標準組込み関数</title>
+<prolog><metadata>
+<keywords><indexterm>functions<indexterm>standard built-in, list of</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>Derbyにてサポートされている標準組み込み関数は以下のとおりです。</p><ul>
+<li><xref href="rrefsqlj98067.dita#rrefsqlj98067"></xref></li>
+<li><xref href="rreffuncacos.dita#rreffuncacos"></xref></li>
+<li><xref href="rreffuncasin.dita#rreffuncasin"></xref></li>
+<li><xref href="rreffuncatan.dita#rreffuncatan"></xref></li>
+<li><xref href="rrefbuiltbigint.dita#rrefbuiltbigint"></xref></li>
+<li><xref href="rrefsqlj33562.dita#rrefsqlj33562"></xref></li>
+<li><xref href="rreffuncceil.dita#rreffuncceil"></xref></li>
+<li><xref href="rrefbuiltchar.dita#rrefbuiltchar"></xref></li>
+<li><xref href="rrefsqlj40899.dita#rrefsqlj40899"></xref></li>
+<li><xref href="rreffunccos.dita#rreffunccos"></xref></li>
+<li><xref href="rrefcasenullif.dita#rrefcasenullif"></xref></li>
+<li><xref href="rrefsqlj34177.dita#rrefsqlj34177"></xref></li>
+<li><xref href="rrefcurrentisolation.dita#rrefcurrentisolation"></xref></li>
+<li><xref href="rrefsqlj33772.dita#rrefsqlj33772"></xref></li>
+<li><xref href="rrefsqlj15866.dita#rrefsqlj15866"></xref></li>
+<li><xref href="rrefsqlj42324.dita#rrefsqlj42324"></xref></li>
+<li><xref href="rrefdatefunc.dita#rrefdatefunc"></xref></li>
+<li><xref href="rrefdayfunc.dita#rrefdayfunc"></xref></li>
+<li><xref href="rreffuncdegrees.dita#rreffuncdegrees"></xref></li>
+<li><xref href="rrefbuiltdouble.dita#rrefbuiltdouble"></xref></li>
+<li><xref href="rreffuncexp.dita#rreffuncexp"></xref></li>
+<li><xref href="rreffuncfloor.dita#rreffuncfloor"></xref></li>
+<li><xref href="rrefhourfunc.dita#rrefhourfunc"></xref></li>
+<li><xref href="rrefidentityvallocal.dita#rrefidentityvallocal"></xref></li>
+<li><xref href="rrefbuiltinteger.dita#rrefbuiltinteger"></xref></li>
+<li><xref href="rrefsqlj16762.dita#rrefsqlj16762"></xref></li>
+<li><xref href="rreffunclog.dita#rreffunclog"></xref></li>
+<li><xref href="rreffunclog10.dita#rreffunclog10"></xref></li>
+<li><xref href="rrefsqlj61998.dita#rrefsqlj61998"></xref></li>
+<li><xref href="rrefsqlj42049.dita#rrefsqlj42049"></xref></li>
+<li><xref href="rrefsqlj97870.dita#rrefsqlj97870"></xref></li>
+<li><xref href="rrefminutefunc.dita#rrefminutefunc"></xref></li>
+<li><xref href="rrefsqljmod.dita#rrefsqljmod"></xref></li>
+<li><xref href="rrefmonthfunc.dita#rrefmonthfunc"></xref></li>
+<li><xref href="rreffuncpi.dita#rreffuncpi"></xref></li>
+<li><xref href="rreffuncradians.dita#rreffuncradians"></xref></li>
+<li><xref href="rrefsqlj32613.dita#rrefsqlj32613"></xref></li>
+<li><xref href="rrefsecondfunc.dita#rrefsecondfunc"></xref></li>
+<li><xref href="rrefsqlj25228.dita#rrefsqlj25228"></xref></li>
+<li><xref href="rreffuncsin.dita#rreffuncsin"></xref></li>
+<li><xref href="rrefbuiltsmallint.dita#rrefbuiltsmallint"></xref></li>
+<li><xref href="rrefsqlj73147.dita#rrefsqlj73147"></xref></li>
+<li><xref href="rrefsqlj93082.dita#rrefsqlj93082"></xref></li>
+<li><xref href="rreffunctan.dita#rreffunctan"></xref></li>
+<li><xref href="rreftimefunc.dita#rreftimefunc"></xref></li>
+<li><xref href="rreftimestampfunc.dita#rreftimestampfunc"></xref></li>
+<li><xref href="rreftrimfunc.dita#rreftrimfunc"></xref></li>
+<li><xref href="rrefsqlj29930.dita#rrefsqlj29930"></xref></li>
+<li><xref href="rrefsqlj42476.dita#rrefsqlj42476"></xref></li>
+<li><xref href="rrefbuiltvarchar.dita#rrefbuiltvarchar"></xref></li>
+<li><xref href="rrefyearfunc.dita#rrefyearfunc"></xref></li>
+</ul></section>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj55788.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57522.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57522.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57522.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57522.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "reference.dtd">
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rrefsqlj57522" xml:lang="ja">
+<title>RIGHT OUTER JOIN 演算</title>
+<prolog><metadata>
+<keywords><indexterm>RIGHT OUTER JOIN operation</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>RIGHT OUTER JOIN演算は、JOIN節に置くことのできる<xref href="rrefsqlj29840.dita#rrefsqlj29840">JOIN演算</xref>の一種です。
+この式では、一つ目(左)の表に合う行がない二つ目(右)の表にある行も結果に残ります。そのとき一つ目の表からの情報はNULLと扱われます。A LEFT OUTER JOIN B は B RIGHT OUTER JOIN Aと、列の順が違う事を除けば同じです。</p></section>
+<refsyn><title>構文</title><codeblock><b><i><xref href="rreftableexpression.dita#rreftableexpression">表式</xref></i> RIGHT [ OUTER ] JOIN <i
+><xref href="rreftableexpression.dita#rreftableexpression">表式</xref></i>
+{
+    ON <i>真偽式</i> 
+    }</b></codeblock>
+<p>ON節にて可視なのは、直接の表と直接のSELECTによる問合せにある表です。
+ON節では結合されていない表を参照することもできますし、結合している表を参照しなくともかまいません。(ただし一般的には参照します。)</p> </refsyn>
+<example> <title>例1</title><codeblock>
+<b>-- 都市のない国を含めた、
+-- 全ての国と都市の一覧を得ます。
+</b>
+SELECT COUNTRIES.COUNTRY, CITIES.CITY_NAME 
+FROM CITIES 
+RIGHT OUTER JOIN COUNTRIES 
+ON CITIES.COUNTRY_ISO_CODE = COUNTRIES.COUNTRY_ISO_CODE
+
+<b>-- 都市のない国を含めた、
+-- アフリカの全ての国と都市の一覧を得ます。
+</b>
+SELECT COUNTRIES.COUNTRY, CITIES.CITY_NAME
+FROM CITIES 
+RIGHT OUTER JOIN COUNTRIES 
+ON CITIES.COUNTRY_ISO_CODE = COUNTRIES.COUNTRY_ISO_CODE
+WHERE Countries.region = 'Africa'
+
+<b>-- RIGHT JOINという同じ内容の記述により、
+-- 前の例と同じ結果を得ます。</b>
+SELECT COUNTRIES.COUNTRY, CITIES.CITY_NAME
+FROM CITIES 
+RIGHT JOIN COUNTRIES 
+ON CITIES.COUNTRY_ISO_CODE = COUNTRIES.COUNTRY_ISO_CODE
+WHERE Countries.region = 'Africa'
+</codeblock> </example>
+<example><title>例2</title><codeblock><b>-- 演算は表式の一つです。
+-- なのでFRON句には複数の演算を置くことができます。
+-- 以下の例では全社員の社員番号と苗字を、
+-- その社員の管理者の社員番号と苗字と共に一覧します。
+</b>
+SELECT E.EMPNO, E.LASTNAME, M.EMPNO, M.LASTNAME	
+	FROM EMPLOYEE E RIGHT OUTER JOIN	
+	DEPARTMENT RIGHT OUTER JOIN EMPLOYEE M 
+        ON MGRNO = M.EMPNO
+        ON E.WORKDEPT = DEPTNO</codeblock></example>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57522.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57924.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57924.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57924.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57924.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefsqlj57924" xml:lang="ja">
+<title>CHAR FOR BIT DATA データ型</title>
+<prolog><metadata>
+<keywords><indexterm>CHAR FOR BIT DATA data type</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>CHAR FOR BIT DATA型により、決められた長さのバイトの並びを記録する事ができます。これは、文字列による記録が適切ではない構造化されていない情報を記録するに便利です。</p></section>
+<refsyn><title>構文</title> <codeblock><b>{ CHAR | CHARACTER }[(<i>長さ</i>)] FOR BIT DATA</b></codeblock> <p><i>長さ</i>は符号のない整数のリテラルで、長さをバイトで指定します。</p> 
+<p>CHAR FOR BIT DATA型の既定の<i>長さ</i>は1です。さらに最大の<i>長さ</i>は254バイトです。</p> </refsyn>
+<section><title>JDBC メタ情報型(java.sql.Types)</title> <p>BINARY</p> 
+<p>CHAR FOR BIT DATAは固定長のバイト列を記録します。もし値が対象にて定義された長さより短いものであった場合、空きは0x20というバイト値でつめられます。</p> 
+<p>CHAR FOR BIT DATAとVARCHAR FOR BIT DATAの値は正確に比較されます。両方のビット列が等しいと評価されるためには、両方が<i>実際に</i>同じ長さでなければなりません。
+(これは、他のDBMSにおけるバイナリの値の扱いとは違うのですが、これはSQL-92にて定義された振る舞いです。</p> 
+<p>VARCHAR FOR BIT DATAやCHAR FOR BIT DATAの値への操作(例えば連結など)はVARCHAR FOR BIT DATAに準じます。</p> </section>
+<example> <p> <codeblock><b>CREATE TABLE t (b CHAR(2) FOR BIT DATA);
+INSERT INTO t VALUES (X'DE');
+SELECT *
+FROM t;
+<ph>-- 次の出力が得られます。</ph>
+B
+-----
+de20</b></codeblock></p> </example>
+</refbody>
+</reference>
+

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj57924.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj58560.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj58560.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj58560.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj58560.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,1223 @@
+<?xml version="1.0" encoding="utf-8"?>
+ 
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rrefsqlj58560" xml:lang="ja">
+<title>データ型と、代入・比較・並び替え・順序付け</title>
+<shortdesc></shortdesc>
+<prolog><metadata>
+<keywords><indexterm>data types<indexterm>assignments and comparisions</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<table><title><ph conref="../conrefs.dita#prod/productshortname"></ph>にて可能な代入</title>
+<desc>この表では<ph conref="../conrefs.dita#prod/productshortname"></ph>にて代入の可能なデータ型の組み合わせを説明します。"Y"は代入できることを表します。</desc>
+<tgroup cols="20"><colspec colname="colspec0" colwidth="350*"/><colspec colname="col2"
+colwidth="84*"/><colspec colname="col3" colwidth="84*"/><colspec colname="col4"
+colwidth="84*"/><colspec colname="col5" colwidth="84*"/><colspec colname="col6"
+colwidth="81*"/><colspec colname="colspec1" colwidth="84*"/><colspec colname="colspec9"
+colwidth="84*"/><colspec colname="colspec8" colwidth="84*"/><colspec colname="colspec7"
+colwidth="84*"/><colspec colname="colspec6" colwidth="81*"/><colspec colname="colspec5"
+colwidth="84*"/><colspec colname="colspec4" colwidth="87*"/><colspec colname="colspec3"
+colwidth="81*"/><colspec colname="colspec2" colwidth="84*"/><colspec colname="colspec10"
+colwidth="84*"/><colspec colname="colspec13" colwidth="84*"/><colspec colname="colspec12"
+colwidth="84*"/><colspec colname="colspec11" colwidth="84*"/><colspec colname="COLSPEC14"
+colwidth="84*"/>
+<thead>
+<row>
+<entry colname="colspec0" valign="top">Types</entry>
+<entry colname="col2" valign="top"> <lines>S
+M
+A
+L
+L
+I
+N
+T</lines></entry>
+<entry colname="col3" valign="top"> <lines>I
+N
+T
+E
+G
+E
+R</lines></entry>
+<entry colname="col4" valign="top"> <lines>B
+I
+G
+I
+N
+T</lines></entry>
+<entry colname="col5" valign="top"> <lines>D
+E
+C
+I
+M
+A
+L</lines></entry>
+<entry colname="col6" valign="top"> <lines>R
+E
+A
+L</lines></entry>
+<entry colname="colspec1" valign="top"> <lines>D
+O
+U
+B
+L
+E</lines></entry>
+<entry colname="colspec9" valign="top"> <lines>F
+L
+O
+A
+T</lines></entry>
+<entry colname="colspec8" valign="top"> <lines>C
+H
+A
+R</lines></entry>
+<entry colname="colspec7" valign="top"> <lines>V
+A
+R
+C
+H
+A
+R</lines></entry>
+<entry colname="colspec6" valign="top"> <lines>L
+O
+N
+G
+
+V
+A
+R
+C
+H
+A
+R</lines></entry>
+<entry colname="colspec5" valign="top"> <lines>C
+H
+A
+R
+ 
+F
+O
+R
+ 
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec4" valign="top"> <lines>V
+A
+R
+C
+H
+A
+R
+ 
+F
+O
+R
+ 
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec3" valign="top"> <lines>L
+O
+N
+G
+ 
+V
+A
+R
+C
+H
+A
+R
+ 
+F
+O
+R
+ 
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec2" valign="top"> <lines>C
+L
+O
+B</lines></entry>
+<entry colname="colspec10" valign="top"> <lines>B
+L
+O
+B</lines></entry>
+<entry colname="colspec13" valign="top"> <lines>D
+A
+T
+E</lines></entry>
+<entry colname="colspec12" valign="top"> <lines>T
+I
+M
+E</lines></entry>
+<entry colname="colspec11" valign="top"> <lines>T
+I
+M
+E
+S
+T
+A
+M
+P</lines></entry>
+<entry colname="COLSPEC14" valign="top"> <lines>X
+M
+L</lines></entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="colspec0">SMALL INT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">INTEGER</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">BIGINT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DECIMAL</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">REAL</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DOUBLE</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">FLOAT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CHAR</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">Y</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">VARCHAR</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">Y</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">LONG VARCHAR</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">Y</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">Y</entry>
+<entry colname="colspec4">Y</entry>
+<entry colname="colspec3">Y</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">VARCHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">Y</entry>
+<entry colname="colspec4">Y</entry>
+<entry colname="colspec3">Y</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">LONG VARCHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">Y</entry>
+<entry colname="colspec4">Y</entry>
+<entry colname="colspec3">Y</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CLOB</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">Y</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">BLOB</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">Y</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DATE</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">TIME</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">TIME STAMP</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">XML</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">Y</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+<table><title>Derbyにて可能な比較</title>
+<desc>この表では<ph conref="../conrefs.dita#prod/productshortname"></ph>にて比較することのできる、データ型の組み合わせを示します。
+"Y"は比較が可能であることを表します。</desc>
+<tgroup cols="20"><colspec colname="colspec0" colwidth="350*"/><colspec colname="col2"
+colwidth="83*"/><colspec colname="col3" colwidth="83*"/><colspec colname="col4"
+colwidth="83*"/><colspec colname="col5" colwidth="83*"/><colspec colname="col6"
+colwidth="80*"/><colspec colname="colspec1" colwidth="83*"/><colspec colname="colspec9"
+colwidth="83*"/><colspec colname="colspec8" colwidth="83*"/><colspec colname="colspec7"
+colwidth="83*"/><colspec colname="colspec6" colwidth="80*"/><colspec colname="colspec5"
+colwidth="83*"/><colspec colname="colspec4" colwidth="86*"/><colspec colname="colspec3"
+colwidth="80*"/><colspec colname="colspec2" colwidth="83*"/><colspec colname="colspec10"
+colwidth="83*"/><colspec colname="colspec13" colwidth="75*"/><colspec colname="colspec12"
+colwidth="89*"/><colspec colname="colspec11" colwidth="89*"/><colspec colname="COLSPEC15"
+colwidth="89*"/>
+<thead>
+<row>
+<entry colname="colspec0" valign="top">Types</entry>
+<entry colname="col2" valign="top"> <lines>S
+M
+A
+L
+L
+I
+N
+T</lines></entry>
+<entry colname="col3" valign="top"> <lines>I
+N
+T
+E
+G
+E
+R</lines></entry>
+<entry colname="col4" valign="top"> <lines>B
+I
+G
+I
+N
+T</lines></entry>
+<entry colname="col5" valign="top"> <lines>D
+E
+C
+I
+M
+A
+L</lines></entry>
+<entry colname="col6" valign="top"> <lines>R
+E
+A
+L</lines></entry>
+<entry colname="colspec1" valign="top"> <lines>D
+O
+U
+B
+L
+E</lines></entry>
+<entry colname="colspec9" valign="top"> <lines>F
+L
+O
+A
+T</lines></entry>
+<entry colname="colspec8" valign="top"> <lines>C
+H
+A
+R</lines></entry>
+<entry colname="colspec7" valign="top"> <lines>V
+A
+R
+C
+H
+A
+R</lines></entry>
+<entry colname="colspec6" valign="top"> <lines>L
+O
+N
+G
+
+V
+A
+R
+C
+H
+A
+R</lines></entry>
+<entry colname="colspec5" valign="top"> <lines>C
+H
+A
+R
+ 
+F
+O
+R
+ 
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec4" valign="top"> <lines>V
+A
+R
+C
+H
+A
+R
+ 
+F
+O
+R
+ 
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec3" valign="top"> <lines>L
+O
+N
+G
+ 
+V
+A
+R
+C
+H
+A
+R
+ 
+F
+O
+R
+ 
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec2" valign="top"> <lines>C
+L
+O
+B</lines></entry>
+<entry colname="colspec10" valign="top"> <lines>B
+L
+O
+B</lines></entry>
+<entry colname="colspec13" valign="top"> <lines>D
+A
+T
+E</lines></entry>
+<entry colname="colspec12" valign="top"> <lines>T
+I
+M
+E</lines></entry>
+<entry colname="colspec11" valign="top"> <lines>T
+I
+M
+E
+S
+T
+A
+M
+P</lines></entry>
+<entry colname="COLSPEC15" valign="top"> <lines>X
+M
+L</lines></entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="colspec0">SMALL INT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">INTEGER</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">BIGINT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DECIMAL</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">REAL</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DOUBLE</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">FLOAT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CHAR</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">VARCHAR</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">LONG VARCHAR</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">Y</entry>
+<entry colname="colspec4">Y</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">VARCHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">Y</entry>
+<entry colname="colspec4">Y</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">LONG VARCHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CLOB</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">BLOB</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DATE</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">TIME</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">TIME STAMP</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+<row>
+<entry colname="colspec0">XML</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC15">-</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj58560.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj59893.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj59893.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj59893.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj59893.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefsqlj59893" xml:lang="ja">
+<title>DROP INDEX 文</title>
+<prolog><metadata>
+<keywords><indexterm>DROP INDEX statement</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>DROP INDEX で指定した索引は破棄されます。</p></section>
+<refsyn><title>構文</title> <codeblock><b>DROP INDEX <i><xref href="rrefindexname.dita#rrefindexname">索引名</xref></i></b></codeblock> </refsyn>
+<example> <codeblock><b>DROP INDEX OrigIndex
+
+DROP INDEX DestIndex</b></codeblock> </example>
+<section><title>文の依存</title> 
+<p>破棄しようとしている索引があるテーブルに、開いているカーソルがある場合、DROP INDEX 文はエラーとなって、索引は破棄されません。索引が破棄された場合には、破棄された索引の表に依存している文は無効となります。</p> </section>
+</refbody>
+</reference>
+

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj59893.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61102.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61102.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61102.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61102.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefsqlj61102" xml:lang="ja">
+<title>DROP VIEW 文</title>
+<prolog><metadata>
+<keywords><indexterm>DROP VIEW statement</indexterm><indexterm>Views<indexterm>dropping</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>指定したビューを破棄します。</p></section>
+<refsyn><title>構文</title> <codeblock><b>DROP VIEW <xref href="rrefviewname.dita#rrefviewname">ビュー名</xref></b></codeblock> </refsyn>
+<example> <codeblock><b>DROP VIEW AnIdentifier</b></codeblock> </example>
+<section><title>文の依存</title> 
+<p>ビューを参照する文は、ビューが破棄されたときに無効になります。ビューに開いたカーソルがある場合、DROP VIEWは実行できません。ビューが依存している情報を破棄する前に、ビューは破棄されなければなりません。</p> </section>
+</refbody>
+</reference>
+

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61102.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61998.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61998.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61998.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61998.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefsqlj61998" xml:lang="ja">
+<title>LOCATE関数</title>
+<prolog><metadata>
+<keywords><indexterm>LOCATE function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+    <section>
+        <p>LOCATE関数を使って、文字列の一致する箇所を他の文字列から探し出すことができます。文字列が見つかった場合、LOCATEは見つかった位置を返します。見つからなかった場合、LOCATEは0を返します。</p></section>
+<refsyn><title>構文</title> <codeblock id="i1195050"><b>LOCATE(<i>文字式</i>, <i>文字式</i> [, <i>開始位置</i>] ) </b>
+        </codeblock>
+        <p>LOCATE関数には必須な二つの引数と、任意で指定できる三つ目の引数があります。
+        <ul>
+            <li>最初の文字式で指定された文字列<b>が</b>探し出されます。</li>
+            <li>二つ目の文字式で指定された文字列<b>より</b>、探し出されます。</li>
+            <li>三つ目の引数は開始位置で、二つ目の引数のどの位置から文字列を探し出すかを指定します。もし三つ目の引数が指定されなければ、LOCATE関数は二つ目の引数の頭から文字列を探し出します。</li>
+    </ul></p>
+    <p>LOCATEの返り値は整数です。LOCATE関数は二つ目の引数のうちで、一つ目の引数が最初に見つかった位置を表す整数を返します。この位置は1から始まります。
+もし二つ目の引数から一つ目の引数が見つからなかった場合、LOCATEは0を返します。もし一つ目の引数が空文字列('')だった場合は二つ目の引数も空文字列であったとしても、LOCATEは三つ目の引数(もし指定されていなければ1)を返します。
+いずれかの文字式にNULLが渡された場合はNULLが返ります。</p>
+</refsyn>
+<example>
+    <codeblock><b><ph>-- 'love'が2の位置で見つかるので2が返る。</ph>
+            VALUES LOCATE('love', 'clover')</b></codeblock>
+    <codeblock><b><ph>-- 'clover'から'stove'は見つからないので0が返る。</ph>
+            VALUES LOCATE('stove', 'clover')</b></codeblock>
+    <codeblock><b><ph>-- 5が返る。(開始位置は4)</ph>
+            VALUES LOCATE('iss', 'Mississippi', 4)</b></codeblock>
+    <codeblock><b><ph>-- 空文字列は特別で1が返る。</ph>
+            VALUES LOCATE('', 'ABC')</b></codeblock>
+    <codeblock><b><ph>-- ''から'AAA'は見つからないので0が返る。</ph>
+            VALUES LOCATE('AAA', '')</b></codeblock>
+    <codeblock><b><ph>-- 3が返る。</ph>
+            VALUES LOCATE('', '', 3)</b></codeblock>
+</example>
+</refbody>
+</reference>
+

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj61998.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj66113.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj66113.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj66113.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj66113.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "reference.dtd">
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rrefsqlj66113" xml:lang="ja">
+<title>COUNT(*) 関数</title>
+<prolog><metadata>
+<keywords><indexterm>COUNT(*) aggregate function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>COUNT(*) は行数を数える集約関数です。NULLや重複は排除されません。COUNT(*)は式への操作ではありません。</p></section>
+<refsyn><title>分布</title><codeblock><b>COUNT(*)</b></codeblock>
+<p>結果のデータ型は<xref href="rrefsqlj10696.dita#rrefsqlj10696">INTEGER</xref>です。</p> </refsyn>
+<example> <codeblock><b><ph>-- Flightsという表にある行数を数えます。</ph>
+SELECT COUNT(*)
+FROM Flights</b></codeblock> </example>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj66113.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native