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 [24/26] - in /db/derby/docs/trunk: ./ src/ja_JP/ src/ja_JP/ref/

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj73147.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj73147.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj73147.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj73147.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,41 @@
+<?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="rrefsqlj73147" xml:lang="ja">
+<title>SQRT関数</title>
+<prolog><metadata>
+<keywords><indexterm>SQRT function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>浮動小数点数の平方根を返します。適用可能な組込みの型は、<xref href="rrefsqlj14122.dita#rrefsqlj14122">実数</xref>、<xref
+href="rrefsqlj27281.dita#rrefsqlj27281">単精度浮動小数点数</xref>、<xref href="rrefsqljdoubleprecision.dita#rrefsqljdoubleprecision">倍精度浮動小数点数</xref>に限られます。
+SQRTが返す値のデータ型は、引数のデータ型と同じです。</p> 
+<note>他のデータ型についてSQRTを実行するには、浮動小数点数に変換する必要があります。</note></section>
+<refsyn><title>構文</title> <codeblock id="i1195048"><b>SQRT(<i>浮動小数点数式</i>)</b></codeblock> </refsyn>
+<example> <codeblock><b>-- 負数の行があった場合、例外が発生します。
+VALUES SQRT(3421E+09)
+
+-- INTEGERの数を浮動小数点数に変換した後、平方根を求めます。
+SELECT SQRT(myDoubleColumn) FROM MyTable
+
+VALUES SQRT (CAST(25 AS FLOAT));</b></codeblock> </example>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj75638.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj75638.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj75638.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj75638.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,95 @@
+<?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="rrefsqlj75638" xml:lang="en-us">
+<title>利用可能な地域情報</title>
+<prolog><metadata>
+<keywords><indexterm>Territories<indexterm>supported</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section><p>利用可能な地域情報を以下に挙げます。</p></section>
+<section><p> <table>
+<tgroup cols="2"><colspec colname="col1"/><colspec colname="col2"/>
+<thead>
+<row>
+<entry colname="col1" valign="top">地域</entry>
+<entry colname="col2" valign="top"><ph conref="../conrefs.dita#prod/productshortname"></ph>の地域設定(derby.territory)</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="col1">中国語(簡体字)</entry>
+<entry colname="col2">zh_CN</entry>
+</row>
+<row>
+<entry colname="col1">中国語(繁体字)</entry>
+<entry colname="col2">zh_TW</entry>
+</row>
+<row>
+<entry colname="col1">チェコ語</entry>
+<entry colname="col2">cs</entry>
+</row>
+<row>
+<entry colname="col1">フランス語</entry>
+<entry colname="col2">fr</entry>
+</row>
+<row>
+<entry colname="col1">ドイツ語</entry>
+<entry colname="col2">de_DE</entry>
+</row>
+<row>
+<entry colname="col1">ハンガリー語</entry>
+<entry colname="col2">hu</entry>
+</row>
+<row>
+<entry colname="col1">イタリア語</entry>
+<entry colname="col2">it</entry>
+</row>
+<row>
+<entry colname="col1">日本語</entry>
+<entry colname="col2">ja_JP</entry>
+</row>
+<row>
+<entry colname="col1">韓国語</entry>
+<entry colname="col2">ko_KR</entry>
+</row>
+<row>
+<entry colname="col1">ポーランド語</entry>
+<entry colname="col2">pl</entry>
+</row>
+<row>
+<entry colname="col1">ポルトガル語(ブラジル語)</entry>
+<entry colname="col2">pt_BR</entry>
+</row>
+<row>
+<entry colname="col1">ロシア語</entry>
+<entry colname="col2">ru</entry>
+</row>
+<row>
+<entry colname="col1">スペイン語</entry>
+<entry colname="col2">es</entry>
+</row>
+</tbody>
+</tgroup>
+</table></p></section>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj81859.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj81859.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj81859.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj81859.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,180 @@
+<?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="rrefsqlj81859" xml:lang="ja">
+<title>ALTER TABLE 文</title>
+<prolog><metadata>
+<keywords><indexterm>ALTER TABLE statement</indexterm><indexterm>Compressing
+tables</indexterm><indexterm>Tables<indexterm>altering</indexterm><indexterm>compressing</indexterm></indexterm>
+<indexterm>Columns<indexterm>adding</indexterm></indexterm><indexterm>Constraints<indexterm>adding</indexterm><indexterm>dropping</indexterm><indexterm
+>compressing</indexterm></indexterm><indexterm>Defaults<indexterm>adding</indexterm><indexterm>dropping</indexterm></indexterm>
+<indexterm>Adding Columns</indexterm><indexterm>Adding Constraints</indexterm>
+<indexterm>Dropping Constraints</indexterm><indexterm>Defaults<indexterm>setting</indexterm></indexterm>
+<indexterm>Tables<indexterm>changing lock granularity for</indexterm></indexterm>
+<indexterm>Data types<indexterm>modifying</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section><p>The ALTER TABLE 文により次のことが可能です。<ul>
+<li>表に列を追加する。</li>
+<li>表に制約を追加する。</li>
+<li>表の列を破棄する。</li>
+<li>表にある制約を破棄する。</li>
+<li>VARCHAR, CHAR VARYING, and CHARACTER VARYING 列の幅を増やす。</li>
+<li>表に定義された行レベルのロックを上書きする。(あるいは上書きされた内容を破棄する。)</li>
+<li>識別子列の増分値や開始値を変更する。</li>
+<li>列がNull可であるか否か変更する。</li>
+<li>列の規定値を変更する。</li>
+</ul></p></section>
+<section><title>構文</title><codeblock><b>ALTER TABLE <i><xref href="rreftablename.dita#rreftablename">表名</xref></i>
+{
+    ADD COLUMN <i><xref href="rrefsqlj81859.dita#rrefsqlj81859/rrefaltercolumndef">列定義</xref></i> |
+    ADD <i><xref href="rrefsqlj13590.dita#rrefsqlj13590">CONSTRAINT節</xref></i> |
+    DROP [ COLUMN ] 列名 [ CASCADE | RESTRICT ]
+    DROP { PRIMARY KEY | FOREIGN KEY 制約名 | UNIQUE 
+	 制約名 | CHECK 制約名 | CONSTRAINT 制約名 }
+    ALTER [ COLUMN ] <i><xref href="rrefsqlj81859.dita#rrefsqlj81859/rrefsqlj37860">列定義変更</xref></i> |
+    LOCKSIZE { ROW | TABLE }
+}</b></codeblock></section>
+<example id="rrefaltercolumndef"> <title>列定義</title><codeblock><b><i><xref
+href="rrefsimplecolumnname.dita#rrefsimplecolumnname">単純列名</xref></i> <i>データ型</i>
+[ <i><xref href="rrefsqlj16095.dita#rrefsqlj16095">列単位制約</xref></i> ]*
+[ [ WITH ] DEFAULT <varname>既定制約式</varname> ]</b></codeblock>
+<p><varname>既定制約式</varname>の詳細については、<xref href="rrefsqlj30540.dita#sqlj64478">列の既定</xref>を参照してください。</p></example>
+<example id="rrefsqlj37860"><title>列定義変更</title><codeblock><b><i>列名</i> SET DATA TYPE VARCHAR(integer) |
+<i>column-name</i> SET INCREMENT BY 定整数 |
+<i>column-name</i> RESTART WITH 定整数 |
+<i>column-name</i> [ NOT ] NULL |
+<i>column-name</i> [ WITH ] DEFAULT 既定値</b> </codeblock></example>
+<section><p>列定義変更のSET INCREMENT BY 定整数により、識別子列のとる連続した値の間隔が設定されます。識別子列がとる次の値は、最後にとられた値に増分が加算された値となります。この場合列にはあらかじめIDENTITY属性が定義されていなければなりません。</p><p>RESTART WITH 定整数により、識別子列がとる次の値が設定されます。RESTART WITHは、GENERATED BY DEFAULTが定義された、一意キーを持つ識別子列のあ
 る表に使うと便利です。GENERATED BY DEFAULTは明示的に値を挿入することおよび、暗黙的にシステムが発番した値を挿入することのいずれをも許すため、明示的に挿入された値がシステムが発番する値との間で競合する事がありえます。この競合を回避するために、RESTART WITHにより識別子列で次に発番される値を設定する事ができるのです。自動的に発番された値と手動で挿入されたæ�
 �…報がある、次の例について考えてみてください。
+<codeblock><b>CREATE TABLE tauto(i INT GENERATED BY DEFAULT AS IDENTITY, k INT)
+CREATE UNIQUE INDEX tautoInd ON tauto(i)
+INSERT INTO tauto(k) values 1,2</b></codeblock></p>
+<p>システムは自動的に識別子列に対して数値を発番します。しかしながら、あなたは手動で識別子列に幾つかの値を挿入しなければなりませんでした。
+<codeblock><b>INSERT INTO tauto VALUES (3,3)
+INSERT INTO tauto VALUES (4,4)
+INSERT INTO tauto VALUES (5,5)</b></codeblock></p>
+<p>識別子列にはこの時点で1から5の値があります。ここであなたがシステムに値を発番させると、システムは3という値を発番します。この値により一意キー例外が発生します。なぜなら3という値は既に手動で挿入されてしまっているからです。手動で値を挿入したので後処理として、識別子列に対してRESTART WITH 6 のALTER TABLE文を発行します。
+<codeblock><b>ALTER TABLE tauto ALTER COLUMN i RESTART WITH 6</b></codeblock></p><p>ALTER
+TABLE は表を参照するいかなるビューにも影響しません。これはSELECT一覧に"*"を持っていても然りです。新しく追加された列がビューから見えるようにする為には、ビューを破棄して作り直さなければなりません。</p></section>
+<section><title>列の追加</title>
+<p><i>追加する列の<xref href="rrefsqlj81859.dita#rrefsqlj81859/rrefaltercolumndef">列定義</xref
+></i>は、構文の上でCREATE TABLE文の列と同じです。ですから、列の制約をALTER TABLE ADD COLUMN文の新しい列に書くこともできます。しかしながら、既存のテーブルにNOT NULL制約のある列を追加することは、その列に既定値を与えた場合のみ可能です。さもなければ、ALTER TABLE文が実行されたとき、例外が発生します。</p>
+<p>CREATE TABLEと同様、列定義に一意あるいは主キー制約がある場合、列はnull値をとることができません。したがって、NOT NULL属性も必要です。(SQLSTATE 42831)
+</p><note>表に明示的な列一覧が指定されないUPDATEトリガが定義されていた場合、その表に列を追加すると、追加された列はUPDATEトリガの暗黙的な更新列一覧に追加されます。さらに新しい列を拾うことができるよう、推移変数への全ての参照は無効となります。</note></section>
+<section><title>制約の追加</title>
+<p>ALTER TABLE ADD CONSTRAINTにより表ごとの制約が既存の表に追加されます。あらゆる種類の表ごとの制約がALTER TABLEで追加できます。ただし、既存の表への制約の追加には次の機能上の制限があります。<ul>
+<li>外部キーやチェック制約が既存の表に追加されるとき<ph
+conref="../conrefs.dita#prod/productshortname"></ph>は既存の行が制約に違反しないか、表を調べます。もしいずれかの行が制約に違反する場合、<ph conref="../conrefs.dita#prod/productshortname"></ph>は例外を投げて制約は追加されません。</li>
+<li>主キーに含まれるあらゆる列はnullでない値をとらなければならず、また一意でなければなりません。<p>ALTER TABLE ADD UNIQUEやPRIMARY KEYは、単一の列による主キーを定義する簡単な方法を提供します。もしPRIMARY KEYがCという列の定義に書かれたされた場合、これはPRIMARY KEY(C)という別の節に書いたのと同じです。列はnullの値をとってはならないので、NOT NULL属性も指定されなければなりません。</p></li>
+</ul></p><p>制約の構文についての詳細は、<xref href="rrefsqlj13590.dita#rrefsqlj13590"></xref>を読んでください。
+ADD TABLE ADD CONSTRAINTという書き方にて、制約を追加する場合は、表毎の制約の構文に従ってください。</p></section>
+<section><title>列の破棄</title><p>ALTER TABLE DROP COLUMNにより、表から列を破棄できます。</p>
+<p>COLUMNというキーワードは無くてもかまいません。</p>
+<p>CASCADEやRESTRICTも、無くてかまいません。どちらも指定しなかった場合、既定はCASCADEです。</p>
+<p>
+RESTRICTの場合、依存しているスキーマの情報が無効になるならば、列の破棄は失敗します。</p>
+<p>
+CASCADEの場合、列の破棄と併せて、無効になるスキーマの情報も破棄されます。</p>
+<p>
+DROP COLUMN RESTRICTが失敗する原因となるスキーマの情報には、次が含まれます。
+ビュー、トリガ、主キー制約、外部キー制約、一意キー制約、チェック制約、列権限。破棄する列に依存するいずれかの情報があれば、DROP COLUMN RESTRICTは失敗します。</p>
+<p>
+表にひとつしかない列は、破棄することができません。</p>
+<p>
+sqlAuthorizationが真である場合、列を削除することはできません。(DERBY-1909を参照してください。)
+)</p>
+<p>
+列が索引にて使われているか否かにかかわらず、列の破棄はCASCADE/RESTRICTのどちらでも同じように行われます。列が破棄されるとき、索引にあるその列が取り除かれます。その列が索引にあるただひとつの列であった場合、索引全体が破棄されます。</p></section>
+<section><title>制約の破棄</title><p>ALTER TABLE DROP CONSTRAINTにより表の制約を破棄できます。名前付けしていない制約を破棄するためには、<i>SYS.SYSCONSTRAINTS</i>に記録されている自動生成された制約の名前をデリミトされた識別子として指定する必要があります。</p>
+<p>主キー・一意性・外部キー制約を破棄すると、その制約が機能するために存在している索引が破棄されます。(この索引は<i>支援索引</i>とも呼ばれます。)</p></section>
+<section><title>列の変更</title>
+<p><i><xref href="rrefsqlj81859.dita#rrefsqlj81859/rrefsqlj37860">列定義変更</xref></i>により、名前のある列を変更できます。可能な変更内容は以下のとおりです。
+<ul>
+<li>VARCHAR列の長さを増やすことができます。VARCHARというキーワードの代わりに、CHARACTER VARYINGやCHAR VARYINGを使うことができます。
+<p>これらの列の幅を増やすためには、データ型と新しいサイズを列名の後に書きます。</p>
+<p>列の幅を減らしたり、データ型を変更したりする事はできません。主キーの一部や、外部キー制約から参照されている一意キー、外部キー制約の一部である列の幅は変更できません。</p></li>
+<li>識別子列のとる連続した値の間隔を指定することができます。<p>
+識別子列のとる連続した値の間隔を設定するためには、定整数を与えます。あらかじめ列には識別子属性が与えられていなければなりません。(SQLSTATE 42837)もし表に既に行がある場合、列のSET INCREMENT defaultが加算された値は変更されません。</p></li>
+<li>列のNullへの制約の変更
+列がNullをとる事への制約を変更できます。
+    <p>NOT NULL制約を既存の列に与えることができます。これを行う場合、既存のNULL値が表のその列に存在してはなりません。</p>
+    <p>NOT NULL制約を既存の列から取り除くことができます。これを行う場合、その列がPRIMARY KEYやUNIQUEの制約にて使われている列であってはなりません。</p></li>
+<li>列の既定値を変更する</li>
+</ul></p></section>
+<section><title>既定値の設定</title><p>新規の列に既定値を与えることができます。既定値とは値が指定されなかった場合に列に挿入される値です。もし明示的に既定値が与えられていなかった場合、列の既定値はNULLです。もし新しい列に既定値を与えた場合、表にある既存の行はその新列に既定値をとることとなります。</p><p>既定値のより詳細な情報については、<xref href="rrefsqlj24513.dita#rrefsqlj24513"></xref>ã‚
 ’参照してください。</p></section>
+<section><title>表のロック粒度の変更</title>
+<p>もしあなたのシステムが既定の設定である行毎のロックを行うのであれば、LOCKSIZE節により表の行毎のロックを上書きすることができます。(一方あなたのシステムが表ごとのロックを行うよう設定されている場合、<ph conref="../conrefs.dita#prod/productshortname"></ph>がLOCKSIZE節に対して例外を投げなかったとしても、ロックの粒度を行単位のロックに変更することはできません。)
+表の行毎のロックを上書きするには、表にロックの設定を行います。
+もし表が表毎のロックで作成された場合、ALTER TABLE文にてLOCKSIZE節を使うことで、その設定を行毎の設定に戻すことができます。これが便利な場合もあるのですが、その詳細については、<cite><ph
+conref="../conrefs.dita#pub/cittuning"></ph></cite>を参照してください。</p></section>
+<section><title>例</title><codeblock><b><ph>-- 既存の表に列ごとの制約のある列を追加する。
+-- 表に既存行があった場合、既存行の新列はNULLをとるので、
+-- 例外が発生する。</ph>
+ALTER TABLE CITIES ADD COLUMN REGION VARCHAR(26)
+CONSTRAINT NEW_CONSTRAINT CHECK (REGION IS NOT NULL);
+
+<ph>-- 既存の表に一意性制約を追加する。
+-- 重複したキーがあった場合、例外が発生する。</ph>
+ALTER TABLE SAMP.DEPARTMENT
+ADD CONSTRAINT NEW_UNIQUE UNIQUE (DEPTNO);
+
+<ph>-- Cities表に外部キー制約を追加する。
+-- 行が制約を満たすか検証されて、
+-- もし制約を満たさない行が見つかった場合、
+-- 制約は追加されない。</ph>
+ALTER TABLE CITIES ADD CONSTRAINT COUNTRY_FK
+Foreign Key (COUNTRY) REFERENCES COUNTRIES (COUNTRY);
+
+<ph>-- 主キー制約を表に追加する。
+-- 最初に表が作成される。</ph>
+CREATE TABLE ACTIVITIES (CITY_ID INT NOT NULL,
+SEASON CHAR(2), ACTIVITY VARCHAR(32) NOT NULL);
+<ph>-- もし主キーとした列にnullや重複した値がある場合、
+-- この制約を追加することはできない。</ph>
+ALTER TABLE Activities ADD PRIMARY KEY (city_id, activity);
+
+<ph>-- もし依存する情報が無ければ、city_id列が破棄される。</ph>
+ALTER TABLE Cities DROP COLUMN city_id RESTRICT;
+<ph>-- 依存する情報と併せて、city_id列が破棄される。</ph>
+ALTER TABLE Cities DROP COLUMN city_id CASCADE;
+
+<ph>-- CITIES表の主キー制約を破棄する。</ph>
+ALTER TABLE Cities DROP CONSTRAINT Cities_PK;
+<ph>-- CITIES表の外部キー制約を破棄する。</ph>
+ALTER TABLE Cities DROP CONSTRAINT COUNTRIES_FK;
+<ph>-- 既定値を1にとるDEPTNO列を追加する。</ph>
+ALTER TABLE SAMP.EMP_ACT ADD COLUMN DEPTNO INT DEFAULT 1;
+<ph>-- VARCHAR型の列幅を増やす。</ph>
+ALTER TABLE SAMP.EMP_PHOTO ALTER PHOTO_FORMAT SET DATA TYPE VARCHAR(30);
+<ph>-- 表のロック粒度を変更する。</ph>
+ALTER TABLE SAMP.SALES LOCKSIZE TABLE;
+
+<ph>-- MANAGER列のNOT NULL制約を破棄する。</ph>
+ALTER TABLE Employees ALTER COLUMN Manager NULL;
+<ph>-- SSN列にNOT NULL制約を追加する。</ph>
+ALTER TABLE Employees ALTER COLUMN ssn NOT NULL;
+
+<ph>-- SALARY列の既定値を変更する。</ph>
+ALTER TABLE Employees ALTER COLUMN Salary DEFAULT 1000.0
+
+</b></codeblock></section>
+<section><title>文の結果</title><p>ALTER TABLE 文により変更する表に依存する全ての文は、次回の実行にて再コンパイルされます。もし変更する表を参照する、開いたカーソルがある場合、ALTER TABLEは許可されません。</p></section>
+</refbody>
+</reference>

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj89752.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj89752.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj89752.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj89752.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="rrefsqlj89752" xml:lang="ja">
+<title>参照節</title>
+<refbody>
+<example> <codeblock><b>REFERENCING
+{
+{ OLD | NEW } [ ROW ] [ AS ] correlation-Name [ { OLD | NEW } [ ROW ] [ AS ] correlation-Name ] | 
+{ OLD TABLE | NEW TABLE } [ AS ] Identifier [ { OLD TABLE | NEW TABLE } [AS] Identifier ]  |
+{ OLD_TABLE | NEW_TABLE } [ AS ] Identifier [ { OLD_TABLE | NEW_TABLE } [AS] Identifier ] 
+}</b></codeblock>
+<note>
+<codeph><b>OLD_TABLE | NEW_TABLE</b></codeph>は、後方互換性及びDB2との互換性のための構文です。これはSQL標準に沿っていないので非推奨です。
+</note>
+</example>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj91438.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj91438.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj91438.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj91438.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,28 @@
+<?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="rrefsqlj91438" xml:lang="ja">
+<title>検索条件</title>
+<refbody>
+<section><p>A <i>検索条件</i> とは、<xref href="rrefsqlj13590.dita#rrefsqlj13590/sqlj57077"></xref>にて記述された要件を満たす、<xref href="rrefsqlj23075.dita#rrefsqlj23075">真偽式</xref>です。</p></section>
+<section><p><i>制約名</i>が明示されなかった場合、<ph conref="../conrefs.dita#prod/productshortname"></ph>は一意性制約名を(列の制約にも表の制約にも)生成します。</p></section>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj93082.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj93082.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj93082.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj93082.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,49 @@
+<?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="rrefsqlj93082" xml:lang="ja">
+<title>SUBSTR関数</title>
+<prolog><metadata>
+<keywords><indexterm>functions<indexterm>SUBSTR</indexterm></indexterm><indexterm>SUBSTR
+function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> 
+<p>SUBSTR関数は文字列式あるいはビット列式に作用します。
+結果のデータ型はそれぞれ、前者の場合は<xref href="rrefsqlj41207.dita#rrefsqlj41207">VARCHAR</xref>で、後者の場合は<xref href="rrefsqlj32714.dita#rrefsqlj32714">VARCHAR FOR
+BIT DATA</xref>です。
+結果の最大長は元の引数の型の最大長です。</p></section>
+<refsyn><title>構文</title><codeblock>SUBSTR({ <i>文字式</i> },
+   <i>開始位置</i> [, <i>列の長さ</i> ] )</codeblock>
+<p>引数の<i>開始位置</i>と省略可能な<i>列の長さ</i>はどちらも整数式です。
+先頭の文字あるいはビットの<i>開始位置</i>は1です。
+もし0が与えられた場合、<ph conref="../conrefs.dita#prod/productshortname"></ph>は1が与えられたものとみなします。</p>
+<p><i>文字式</i>のデータ型はCHAR、VARCHAR、LONG VARCHAR、あるいは(ビット式ではない)文字列に暗黙のうちに変換可能な組み込み型の何れかです。</p>
+<p>文字式では<i>開始位置</i>および<i>列の長さ</i>というパラメータは文字をさします。ビット式については、<i>開始位置</i>および<i>列の長さ</i>というパラメータはビットをさします。</p>
+<p>もし<i>開始位置</i>が正であれば、その数は基となる式の先頭から数えた位置を指します。(先頭の文字は1と数えます。)<i>開始位置</i>は負とすることができません。</p>
+<p>もし<i>列の長さ</i>が指定されなかった場合、SUBSTRは式の<i>開始位置</i>から末尾までの部分列を返します。もし<i>列の長さ</i>が指定された場合、SUBSTRは<i>開始位置</i>から始まる<i>列の長さ</i>の、VARCHARあるいはVARBITを返します。
+もし<i>列の長さ</i>に負の数が与えられた場合、SUBSTR関数はエラーを返します。</p> </refsyn>
+<example><title>例</title>
+<p><codeph>hello</codeph>という単語の二つ目の文字から最後までの部分列を返すには、次のような節を書きます。<codeblock>VALUES SUBSTR('hello', 2)</codeblock>
+結果は'<codeph>ello</codeph>'となります。</p>
+<p><codeph>hello</codeph>という単語の最初の文字から二つ目の文字までの部分列を返すには、次のような節を書きます。<codeblock>VALUES SUBSTR('hello',1,2)</codeblock>
+結果は'<codeph>he</codeph>'となります。</p></example>
+</refbody>
+</reference>

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj95598.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj95598.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj95598.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj95598.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="rrefsqlj95598" xml:lang="ja">
+<title>RENAME INDEX 文</title>
+<prolog><metadata>
+<keywords><indexterm>RENAME INDEX statement</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>この文で、現在のスキーマにある索引の名前を変更できます。
+ユーザは<i>SYS</i>スキーマにある索引の名前を変更できません。</p></section>
+<refsyn><title>構文</title> <codeblock><b>RENAME INDEX <i>索引名</i> TO <i>新索引名</i></b></codeblock> </refsyn>
+<example> <codeblock><b>RENAME INDEX DESTINDEX TO ARRIVALINDEX</b></codeblock> </example>
+<section><title>文の依存</title> 
+<p>開いたカーソルがある索引には、RENAME INDEX を実行できません。</p> </section>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj97870.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj97870.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj97870.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj97870.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,34 @@
+<?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="rrefsqlj97870" xml:lang="ja">
+<title>LTRIM関数</title>
+<prolog><metadata>
+<keywords><indexterm>LTRIM function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>LTRIMは文字列式から先頭にある空白文字の列を取り除きます。</p></section>
+<refsyn><title>構文</title> <codeblock><b>LTRIM(<i>文字式</i>)</b></codeblock> <p>A <i>文字式</i>のデータ型は、CHAR、VARCHARあるいはLONG VARCHARあるいは暗黙に文字列に変換可能な組込みの型です。</p> 
+<p>もし<i>文字式</i>の評価が空なら、LTRIMはNULLを返します。</p> </refsyn>
+<example> <codeblock><b><ph>-- 'asdf  'が返ります。</ph>
+VALUES LTRIM(' asdf  ')</b></codeblock> </example>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj98067.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj98067.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj98067.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj98067.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,38 @@
+<?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="rrefsqlj98067" xml:lang="ja">
+<title>ABSとABSVAL関数</title>
+<prolog><metadata>
+<keywords><indexterm>ABS or ABSVAL function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>ABS と ABSVALは数式の絶対値を返します。
+帰り値の型は引数の型と同じです。組込みの数値型は全て使うことができます。
+(<xref href="rrefsqlj15260.dita#rrefsqlj15260">DECIMAL</xref>, <xref href="rrefsqljdoubleprecision.dita#rrefsqljdoubleprecision">DOUBLE PRECISION</xref>, <xref href="rrefsqlj27281.dita#rrefsqlj27281">FLOAT</xref>, <xref
+href="rrefsqlj10696.dita#rrefsqlj10696">INTEGER</xref>、 <xref href="rrefsqlj30435.dita#rrefsqlj30435">BIGINT</xref>、 <xref
+href="rrefsqlj12362.dita#rrefsqlj12362">NUMERIC</xref>、 <xref href="rrefsqlj14122.dita#rrefsqlj14122">REAL</xref>
+それと<xref href="rrefsqlj16221.dita#rrefsqlj16221">SMALLINT</xref>)。</p></section>
+<refsyn><title>構文</title> <codeblock id="i1195049"><b>ABS(<i>数式</i>)</b></codeblock> </refsyn>
+<example> <codeblock><b><ph>-- 3が返る。</ph>
+VALUES ABS(-3)</b></codeblock> </example>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcreatesynonym.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcreatesynonym.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcreatesynonym.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcreatesynonym.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,41 @@
+<?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="rrefsqljcreatesynonym" xml:lang="en-us">
+<title>CREATE SYNONYM 文</title>
+<prolog><metadata>
+<keywords><indexterm>CREATE SYNONYM statement</indexterm><indexterm>Synonyms<indexterm>creating</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section><p>CREATE SYNONYM文によって同じスキーマあるいは異なるスキーマに存在する表やビューに別名を与える事ができます。
+さらに別名に別名を与えて、入れ子の別名を作成することもできます。
+別名は元の限定された表やビューの名前に代わり、SELECT、INSERT、UPDATE、DELETEやLOCK TABLE文にて利用できます。存在しない表やビューへの別名を作成することも可能ですが、別名を利用する前までに対象の表やビューは存在していなければなりません。</p><p>別名は表やビューと同じ名前空間を共有します。同じスキーマに既にある表と同じ名前で別名を作ることはできません。同様に既
 に存在する別名と同じ名前の表やビューを作成することはできません。</p>
+<p>別名は作成時にまだ存在していない表やビューにも作成することができます。もし表やビューが存在していなければ、そのことを警告されます。(SQLSTATE  01522)
+DML文で別名を使うときには参照する情報は存在していなければなりません。</p>
+<p>入れ子になった別名(他の別名への別名)を作成することはできますが、参照関係が循環するような別名を作成しようとするとエラーとなります。(SQLSTATE 42916)</p>
+<p>別名はシステムスキーマに定義できません。'SYS'で名前が始まるあらゆるスキーマはシステムスキーマとみなされ、<ph conref="../conrefs.dita#prod/productshortname"></ph>において予約されています。</p>
+<p>一時表への別名は作成できません。一時表に別名を定義しようとするとエラーとなります。(SQLSTATE XCL51)</p></section>
+<section><title>構文</title><codeblock><b>CREATE SYNONYM <xref href="rrefsynonymname.dita#rrefsynonymname">別の名</xref> FOR { <xref
+href="rrefviewname.dita#rrefviewname">ビュー名</xref> | <xref href="rreftablename.dita#rreftablename">表名</xref> }</b></codeblock>
+文中の<xref href="rrefsynonymname.dita#rrefsynonymname">別の名</xref>は、対象の表やビューに与える別名です。一方で、<xref
+href="rrefviewname.dita#rrefviewname">ビュー名</xref>や<xref href="rreftablename.dita#rreftablename">表名</xref>は、対象の表やビューの元の名前です。</section>
+<example><title>例</title>CREATE SYNONYM SAMP.T1 FOR SAMP.TABLEWITHLONGNAME</example>
+</refbody>
+</reference>

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrentdate.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrentdate.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrentdate.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrentdate.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,30 @@
+<?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="rrefsqljcurrentdate" xml:lang="ja">
+<title>CURRENT DATE 関数</title>
+<prolog><metadata>
+<keywords><indexterm>CURRENT DATE function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>CURRENT DATE は<xref href="rrefsqlj34177.dita#rrefsqlj34177">CURRENT_DATE</xref>の別名です。</p></section>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrentschema.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrentschema.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrentschema.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrentschema.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,43 @@
+<?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="rrefsqljcurrentschema" xml:lang="ja">
+<title>CURRENT SCHEMA関数</title>
+<prolog><metadata>
+<keywords><indexterm>CURRENT SCHEMA function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>CURRENT SCHEMAはデータベースの情報への参照名を限定できるスキーマ名を返します。</p> 
+<note>CURRENT SCHEMAとCURRENT SQLIDは別名です。</note> 
+<p>これらの関数は最大128文字の文字列を返します。</p></section>
+<refsyn><title>構文</title> <codeblock><b>CURRENT SCHEMA
+
+<b>-- または、</b>
+
+CURRENT SQLID</b></codeblock> </refsyn>
+<example> <codeblock><b><ph>-- nameという列の既定値を現在のスキーマ名にする。</ph>
+CREATE TABLE mytable (id int, name VARCHAR(128) DEFAULT CURRENT SQLID)
+<ph>-- 表に現在のスキーマ名となっている既定値を挿入する。</ph>
+INSERT INTO mytable(id) VALUES (1)
+<ph>-- 現在のスキーマと同じ名前の表を返す。</ph>
+SELECT name FROM mytable WHERE name = CURRENT SCHEMA</b></codeblock> </example>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrenttimestamp.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrenttimestamp.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrenttimestamp.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqljcurrenttimestamp.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,30 @@
+<?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="rrefsqljcurrenttimestamp" xml:lang="ja">
+<title>CURRENT TIMESTAMP関数</title>
+<prolog><metadata>
+<keywords><indexterm>CURRENT TIMESTAMP function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>CURRENT TIMESTAMP は<xref href="rrefsqlj15866.dita#rrefsqlj15866">CURRENT_TIMESTAMP</xref>の別名です。</p></section>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqljdoubleprecision.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqljdoubleprecision.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqljdoubleprecision.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqljdoubleprecision.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,54 @@
+<?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="rrefsqljdoubleprecision" xml:lang="ja">
+<title>DOUBLE PRECISION データ型</title>
+<prolog><metadata>
+<keywords><indexterm>DOUBLE PRECISION data type</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>DOUBLE PRECISIONはIEEE浮動小数点表記に基づいて数を、8バイトの領域に記録します。</p></section>
+<refsyn><title>構文</title> 
+<codeblock><b>DOUBLE PRECISION</b></codeblock> <p>または、</p> <codeblock><b>DOUBLE</b></codeblock> 
+<p>DOUBLEはDOUBLE PRECISIONと同じ意味で用いることができます。</p> </refsyn>
+<section><title>制限</title> 
+<p>DOUBLEの値は以下の範囲です。</p> <ul>
+<li>DOUBLEの最小値: -1.79769E+308</li>
+<li>DOUBLEの最大値: 1.79769E+308</li>
+<li>DOUBLEの最小の正の値: 2.225E-307</li>
+<li>DOUBLEの最大の負の値: -2.225E-307</li>
+</ul> <p>これらの制限は、Javaの型である<codeph>java.lang.Double</codeph>の制限とは異なります。</p> 
+<p>これらの範囲外の値が計算されたり代入されると例外が挙がります。
+数の演算処理では、結果の値は零に丸め処理<b>されません</b>。
+もし値が小さすぎた場合は例外となります。</p> 
+<p>浮動小数点数の定数は30文字までに制限されます。
+<codeblock>-- この例では定数値が長すぎるため、失敗します。
+<b>values 01234567890123456789012345678901e0;</b></codeblock></p> </section>
+<section><title>対応するコンパイル時のJavaの型</title> <p><i>java.lang.Double</i></p> </section>
+<section><title>JDBC のメタデータ型 (java.sql.Types)</title> <p>DOUBLE</p> 
+<p>式にて他のデータ型が混在する場合、式の結果の型は<xref href="rrefsqlj27767.dita#rrefsqlj27767"></xref>で記述された規則に従い決まります。</p> 
+<p><xref href="rrefsqlj20204.dita#rrefsqlj20204"></xref>も参照してください。</p> </section>
+<example id="sqlj35021"><title>例</title> <codeblock><b>3421E+09
+425.43E9
+9E-10
+4356267544.32333E+30</b></codeblock> </example>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqljdropsynonym.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqljdropsynonym.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqljdropsynonym.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqljdropsynonym.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,32 @@
+<?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="rrefsqljdropsynonym" xml:lang="ja">
+<title>DROP SYNONYM 文</title>
+<prolog><metadata>
+<keywords><indexterm>DROP SYNONYM statement</indexterm><indexterm>Synonyms<indexterm>dropping</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>表やビューの別名を破棄します。</p></section>
+<refsyn><title>構文</title> <codeblock><b>DROP SYNONYM <xref href="rrefsynonymname.dita#rrefsynonymname">別名名</xref></b></codeblock> </refsyn>
+</refbody>
+</reference>
+

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqljgrant.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqljgrant.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqljgrant.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqljgrant.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,81 @@
+<?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
+
+"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="rrefsqljgrant" xml:lang="ja">
+<title>GRANT 文 </title>
+<shortdesc>GRANT 文を使って、データベースにある情報の操作権限を、指定した一人あるいは全ユーザに与えることができます。</shortdesc>
+<prolog><metadata>
+<keywords><indexterm>GRANT statement</indexterm><indexterm>SQL statements<indexterm>GRANT</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>次の権限を与えることができます。<ul>
+<li>表からの情報の削除</li>
+<li>表への情報の挿入</li>
+<li>表あるいは表にある列の部分集合への外部キー制約の作成</li>
+<li>表やビュー、表にある列の部分集合からの情報の選択</li>
+<li>表へのトリガーの作成</li>
+<li>表あるいは表にある列の部分集合の情報の更新</li>
+<li>関数あるいは手続きの実行</li>
+</ul></p><p>GRANT文を発行する前に、<codeph>derby.database.sqlAuthorization</codeph>属性が<codeph>true</codeph>であることを確認してください。<codeph>derby.database.sqlAuthorization</codeph>属性により、SQL認証が有効になります。</p>
+
+
+<p>ユーザに権限付与が認められている情報であれば、その情報への権限をユーザは与えることができます。
+詳細については、権限を与えようとしている情報に対応したCREATE文の説明文を読んでください。</p>
+<p>GRANT文の書き方は、表に対する権限付与なのか、それともプログラムルーチンに対する権限付与なのかにより、その構文が異なります。</p></section>
+<section><title>表の場合の構文</title><codeblock><b>GRANT <i><xref href="rrefsqljgrant.dita#rrefsqljgrant/grantprivtype">権限タイプ</xref></i
+> ON [TABLE] { <i><xref href="rreftablename.dita#rreftablename"></xref></i> | <i><xref
+href="rrefviewname.dita#rrefviewname"></xref></i> } TO <i><xref href="rrefsqljgrant.dita#rrefsqljgrant/grantgrantees">権限を与えられる人</xref></i></b></codeblock
+></section>
+<section><title>プログラムルーチンの場合の構文</title><codeblock><b>GRANT EXECUTE ON { FUNCTION | PROCEDURE } <i><xref
+href="rrefsqljgrant.dita#rrefsqljgrant/grantroutinename">プログラムルーチンの指示子</xref></i> TO <i><xref
+href="rrefsqljgrant.dita#rrefsqljgrant/grantgrantees">権限を与えられる人</xref></i></b></codeblock></section>
+
+<section id="granttablepriv"><title>表権限</title><codeblock><b>  DELETE |
+  INSERT |
+  REFERENCES [<i>列一覧</i>] |
+  SELECT [<i>列一覧</i>] |
+  TRIGGER |
+  UPDATE [<i>列一覧</i>]
+</b></codeblock></section>
+<section id="grantcollist"><title>列一覧</title><codeblock><b>  ( 列識別子 {, 列識別子}* )
+</b></codeblock></section>
+<section><p>ALL PRIVILEGES権限により指定した表へのすべての権限をユーザに付与します。権限の並びを指定して、表への一つ以上の権限を付与することも可能です。</p>
+<p>DELETE権限により指定した表から行を削除する権限を付与します。</p>
+<p>INSERT権限により指定した表に行を挿入する権限を付与します。</p>
+<p>REFERENCES権限により指定した表への外部キー参照を作成する権限を付与します。REFERENCESに合わせて列並びが指定された場合、指定した列への外部キー参照だけが許可されます。</p>
+<p>SELECT権限により表あるいはビューでSELECT文を行う権限が付与されます。もしSELECT権限で列の並びが指定された場合、それらの列にのみ権限は有効です。列の並びが指定されなかった場合、表の全列について権限は有効です。</p>
+<p>TRIGGER権限により指定した表にトリガを作成する権限が付与されます。</p>
+<p>UPDATE権限により指定した表にUPDATE文を使う権限が付与されます。列の並びが指定された場合、権限は指定された列にのみ有効です。WHERE節のある文で行を更新する場合、更新する行にある列へのSELECT権限も必要です。</p></section>
+
+<section id="grantgrantees"><title>権限を与えられる人</title><codeblock><b>{	<i>認証識別子</i> | PUBLIC } [,{ <i>認証識別子</i> | PUBLIC } ] *</b
+></codeblock><p>特定のユーザまたは全ユーザに権限を与えることができます。
+PUBLIC というキーワードは全ユーザをあらわします。PUBLICが与えられた場合、現存するユーザのみならず、以降に作成されたユーザにも権限が与えられます。
+PUBLICに与えられた権限と、個々のユーザに与えられた権限は、独立しています。
+例えば、<codeph>t</codeph>という表へのSELECT権限が、PUBLICと<codeph>harry</codeph>という認証識別子に対して与えられているとしましょう。この場合は、<codeph>harry</codeph>という認証識別子からSELECT権限が剥奪されたとしても、HarryはPUBLICの権限を通して、<codeph>t</codeph>という表を操作可能です。</p></section>
+<section id="grantroutinename"><title>プログラムルーチンの指示子</title><codeblock><b>{
+	<i>関数名</i> | <i>手続きの名前</i>
+}</b></codeblock></section>
+<example id="grantexamples"><title>例</title><p>tという表へのSELECT権限を<codeph>maria</codeph> と <codeph>harry</codeph>という認証識別子に与えるには、次のように書きます。<codeblock><b>GRANT SELECT ON TABLE t TO maria,harry</b> </codeblock></p>
+<p>tという表へのUPDATEとTRIGGER権限を、<codeph>anita</codeph>と<codeph>zhi</codeph>という認証識別子に与えるには、次のように書きます。<codeblock><b>GRANT UPDATE, TRIGGER ON TABLE t TO anita,zhi</b> </codeblock></p>
+<p>s.vという表へのSELECT権限を全てのユーザに与えるには、次のように書きます。<codeblock><b>GRANT SELECT ON TABLE s.v to PUBLIC</b></codeblock></p
+>
+<p>pという手続きの実行権限を、<codeph>george</codeph>という認証識別子に与えるには、次のように書きます。</p><codeblock><b>GRANT EXECUTE ON PROCEDURE p TO george</b> </codeblock></example>
+</refbody>
+</reference>

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

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqljmod.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqljmod.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqljmod.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqljmod.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,37 @@
+<?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="rrefsqljmod" xml:lang="ja">
+<title>MOD関数</title>
+<prolog><metadata>
+<keywords><indexterm>MOD function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>MODは、一つ目の引数を二つ目の引数で割った剰余(法)を返します。</p></section>
+<refsyn><title>構文</title> <codeblock><b>mod(整数型, 整数型) </b></codeblock> 
+<p>関数の結果は、<ul>
+<li>両方の引数がSMALLINTなら、SMALLIINT。</li>
+<li>片方の引数がINTEGERで、もう片方がINTEGERあるいはSMALLINTなら、INTEGER。</li>
+<li>片方の引数がBIGINTで、もう片方がBIGINTあるいはINTEGERあるいはSMALLINTなら、BIGINT。</li>
+</ul></p> 
+<p>返り値はNULLをとることがあり、もし何れかの引数がNULLなら、返り値はNULLです。</p> </refsyn>
+</refbody>
+</reference>
+

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