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 [22/26] - in /db/derby/docs/trunk: ./ src/ja_JP/
src/ja_JP/ref/
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35981.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35981.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35981.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35981.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,50 @@
+<?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="rrefsqlj35981" xml:lang="ja">
+<title>DELETE æ</title>
+<prolog><metadata>
+<keywords><indexterm>DELETE statement</indexterm><indexterm>Read-write VTIs<indexterm>and
+DELETES</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section><title>æ§æ</title> <codeblock><b>{
+ DELETE FROM 表å
+ [<i><xref href="rrefsqlj33602.dita#rrefsqlj33602">WHERE ç¯</xref></i>] |
+ DELETE FROM 表å <xref href="rrefsqlj15309.dita#rrefsqlj15309">WHERE CURRENT OF</xref>
+}</b></codeblock></section>
+<section>
+<p>ä¸ã¤ç®ã®æ¸ãæ¹ã¯ãæ¤ç´¢ã«ããåé¤ã¨å¼ã°ãã表åã¨WHERE ç¯ã«ããçµãè¾¼ã¾ããè¡ãåé¤ããã¾ãã</p></section>
+<section><p>äºã¤ç®ã®æ¸ãæ¹ã¯ãä½ç½®ã«ããåé¤ã¨å¼ã°ããæ´æ°å¯è½ãªã«ã¼ã½ã«ã§ç¾å¨éãã¦ããè¡ãåé¤ããã¾ããæ´æ°å¯è½ãªã«ã¼ã½ã«ã«ã¤ãã¦ã¯<xref
+href="rrefsqlj41360.dita#rrefsqlj41360"></xref>ãåç
§ãã¦ãã ããã</p></section>
+<section><title>ä¾</title> <codeblock><b>DELETE FROM SAMP.IN_TRAY
+
+stmt.executeUpdate("DELETE FROM SAMP.IN_TRAY WHERE CURRENT OF " +
+ resultSet.getCursorName());</b></codeblock></section>
+<section><title>æã®ä¾å</title>
+<p>æ¤ç´¢ã«ããåé¤ã§ã¯ãæãæ´æ°ãã表ããã®ã³ã³ã°ãããªãã(ãã¼ããç´¢å¼ã®ãããªè¨é²ã®åä½)ã«ãæãä¾åãã¾ããæºåãããæ¤ç´¢ã«ããå餿ã対象ã¨ãã表ã®CREATEãDROP INDEXæã¯ããã®æºåãããæ¤ç´¢ã«ããå餿ãç¡å¹ã¨ãã¾ãã</p></section>
+<section>
+<p>ä½ç½®ã«ããåé¤ã§ã¯ãæãã«ã¼ã½ã«ãã«ã¼ã½ã«ãåç
§ãã表ã«ä¾åãã¾ãããã¨ãã¾ã ã«ã¼ã½ã«ãéãã¦ãªãã¦ããä½ç½®ã«ããåé¤ã®æã¯ã³ã³ãã¤ã«å¯è½ã§ããããã§ããJDBCã®<i>close</i>ã¡ã½ããã«ããéããã«ã¼ã½ã«ãåãé¤ãããã¨ãä½ç½®ã«ããåé¤ã®æã¯ç¡å¹ã«ãªãã¾ãã</p></section>
+<section>
+<p>
+æºåãããä½ç½®ã«ããåé¤ã®æã対象ã¨ãã表ã®CREATEãDROP INDEXæã¯ããã®æºåãããä½ç½®ã«ããåé¤ã®æãç¡å¹ã¨ãã¾ãã</p></section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35981.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj36146.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj36146.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj36146.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj36146.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,55 @@
+<?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="rrefsqlj36146" xml:lang="ja">
+<title>å°æ°ãè¨ç®ããã¨ãã®ç®çã</title>
+<prolog><metadata>
+<keywords><indexterm>Precision<indexterm>of decimal arithmetic expressions</indexterm></indexterm>
+<indexterm>Scale<indexterm>of decimal arithmetic expressions</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section><p>SQLæã«ã¯ãç°ãªã<i>精度</i>(å°æ°ç¹ãã¯ããã 両æ¹ã«ããæ¡ã®æ°ã§ã)ã<i>ç®çã</i>(å°æ°é¨ã®æ¡ã®æ°ã§ã)ã®å°æ°åã使ã£ãè¨ç®å¼ãæ¸ããã¨ãã§ãã¾ãã
+è¨ç®çµæã«ã¦å°æ°åã®ç²¾åº¦ãç®çããã©ããªããã¯ãªãã©ã³ãã«ä¾åãã¾ãã</p></section>
+<section><p>å°æ°ã®ãªãã©ã³ããäºã¤ä¸ããããã¨ãã¦ã:
+ <ul>
+<li><i>lp</i>ã¯å·¦è¾ºã®ãªãã©ã³ãã®ç²¾åº¦ã¨ãã¾ãã</li>
+<li><i>rp</i>ã¯å³è¾ºã®ãªãã©ã³ãã®ç²¾åº¦ã¨ãã¾ãã</li>
+<li><i>ls</i>ã¯å·¦è¾ºã®ãªãã©ã³ãã®ç®çãã¨ãã¾ãã</li>
+<li><i>rs</i>ã¯å³è¾ºã®ãªãã©ã³ãã®ç®çãã¨ãã¾ãã</li>
+</ul></p></section>
+<section><p>çµæã®ãã¼ã¿åã®ç®çãã¯ãããããã®è¨ç®æ¹æ³ã«ã¤ãã¦ã次å¼ã®ã¨ããã§ãã<ul>
+<li><i>æãç®</i> <p>ls + rs</p></li>
+<li><i>å²ãç®</i> <p>31 - lp + ls - rs</p></li>
+<li><i>AVG()</i> <p>max(max(ls, rs), 4)</p></li>
+<li><i>ãã®ä»å
¨é¨</i> <p>max(ls, rs)</p></li>
+</ul></p></section>
+<section><p>ä¾ãã°ã次å¼ã®çµæã§ã¯ãã¼ã¿åã®ç®çãã¯27ã§ãã
+<codeblock>11.0/1111.33
+<b>// 31 - 3 + 1 - 2 = 27 </b></codeblock></p></section>
+<section><p>çµæã®ãã¼ã¿åã®ç²¾åº¦ã¯ãããããã®è¨ç®æ¹æ³ã«ã¤ãã¦ã次å¼ã®ã¨ããã§ãã<ul>
+<li><i>æãç®</i> <p>lp + rp</p></li>
+<li><i>è¶³ãç®</i> <p>2 * (p - s) + s</p></li>
+<li><i>å²ãç®</i> <p>lp - ls + rp + max(ls + rp - rs + 1, 4)</p></li>
+<li><i>ãã®ä»å
¨é¨</i> <p>max(lp - ls, rp - rs) + 1 + max(ls, rs)</p></li>
+</ul></p></section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj36146.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj37836.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj37836.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj37836.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj37836.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,111 @@
+<?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="rrefsqlj37836" xml:lang="en-us">
+<title>çºçªå仿§</title>
+<prolog><metadata>
+<keywords><indexterm>Identity column attributes</indexterm><indexterm>generated-column-spec</indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<example> <codeblock><b>[ GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY
+[ ( START WITH 宿´æ°
+[ ,INCREMENT BY 宿´æ°] ) ] ] ]
+</b></codeblock></example>
+<section id="sqlj69411"><title>èå¥åå屿§</title>
+<p>SMALLINTãINTãBIGINTåã®åã«èå¥å屿§ãããã¨ã<ph conref="../conrefs.dita#prod/productshortname"></ph>ã¯èªåçã«åã®å¤ã«ãå¢å ããæ´æ°å¤ããã¦ã¾ããæ¿å
¥æã§åã®å¤ãæå®ãããªãå ´åãèå¥åå屿§ã¯æ¢å®å¤ã¨åæ§ã«æ¯ãèãã<ph conref="../conrefs.dita#prod/productshortname"></ph>ã¯åã«èªåçã«å¤ãä¸ãã¾ãã
+ããããªããããã®å¤ã¯å®æ°ã§ã¯ããã¾ããã<ph conref="../conrefs.dita#prod/productshortname"></ph>ã¯è¡ã«æ¿å
¥ããæãèªåçã«æ¢å®å¤ã¸å ç®ãã¦ããã¾ãã</p><p>IDENTITYã¨ãããã¼ã¯ã¼ãã¯åã®ãã¼ã¿åãæ¬¡ã®ãããã®æ´æ°ã§ããå ´åã«ã®ã¿æå®å¯è½ã§ãã<ul>
+<li>SMALLINT</li>
+<li>INT</li>
+<li>BIGINT</li>
+</ul></p><p><ph conref="../conrefs.dita#prod/productshortname"></ph>ã«ã¯äºç¨®é¡ã®èå¥ååãããã¾ããã²ã¨ã¤ã¯GENERATED ALWAYSã§ãããä¸ã¤ã¯GENERATED BY DEFAULTã§ãã<dl>
+<dlentry>
+<dt>GENERATED ALWAYS</dt>
+<dd>GENERATED ALWAYSã®èå¥ååã¯åã®æ¢å®å¤ããæ¿å
¥ãè¡ãããã¨ããã¨ã«å¢å ããã¦ããã®å¢å ãããå¤ãåã«è¨é²ãã¾ããä»ã®æ¢å®å¤ã¨ã¯éããGENERATED ALWAYSã®èå¥ååã«å¤ãç´æ¥æ¿å
¥ãããããã®å¤ã夿´ããããããã¨ã¯ã§ãã¾ããããã®ä»£ããã«èå¥ååã®å¤ã«ã¯DEFAULTã¨ãããã¼ã¯ã¼ããä¸ããããèå¥ååãæ¿å
¥ããåã®ä¸è¦§ããã¯ããããã¾ãã
+ä¾ãæãã¾ãã<codeblock>create table greetings
+ (i int generated always as identity, ch char(50));
+insert into greetings values (DEFAULT, 'hello');
+insert into greetings(ch) values ('bonjour');</codeblock>GENERATED ALWAYSãªèå¥ååã«èªåçã«çºçªãããå¤ã¯ä¸æã§ããã¾ãèå¥ååã使ãã¦ããåã«ç´¢å¼ã¯ä½ããã¾ããã</dd>
+</dlentry><dlentry>
+<dt>GENERATED BY DEFAULT</dt>
+<dd><p>GENERATED BY DEFAULTã®èå¥ååã¯ãæ¿å
¥æã«åã¸æç¤ºçãªå¤ãä¸ããããªãã£ãå ´åã®ã¿ãæ¢å®å¤ãå¢å ããã¦ä½¿ãã¾ããGENERATED ALWAYSã®åã¨ã¯éããæ¿å
¥æã«ã¦æç¤ºçãªå¤ãæ¢å®å¤ã®å¤ããã«ä¸ãããã¨ãã§ãã¾ãã</p><p>çæãããæ¢å®å¤ã使ãããã«ã¯ãæ¿å
¥æã«DEFAULTã¨ãããã¼ã¯ã¼ãã使ãããèå¥ååãæ¿å
¥åãªã¹ãããå¤ãã¾ããæ¿å
¥ããå¤ãæå®ããã«ã¯ããã®å¤ãæ¿å
¥æã«å
«ãã¾ããä¾ãæãã¾ãã<codeblock>create table greetings
+ (i int generated by default as identity, ch char(50));
+<b>-- "1"ãæå®ãã:</b>
+insert into greetings values (1, 'hi');
+<b>-- çæãããæ¢å®å¤ã使ã</b>
+insert into greetings values (DEFAULT, 'salut');
+<b>-- çæãããæ¢å®å¤ã使ã</b>
+insert into greetings(ch) values ('bonjour'); </codeblock>
+GENERATED ALWAYSåã¨ã¯ç°ãªããGENERATED BY DEFAULTã®åã§ã¯ä¸ææ§ã¯ä¿éããã¾ããããããã£ã¦ãä¸è¨ã®ä¾ã§ã¯<codeph>hi</codeph>ããã³<codeph>salut</codeph>ã®è¡ã¯ã©ã¡ããåã"1"ã¨ããèå¥å¤ãåãã¾ãããªããªããçæãããåã®å¤ã¯"1"ããå§ã¾ããã¦ã¼ã¶ãæå®ããå¤ã"1"ã ã£ãããã§ããéè¤ãé¿ããããã«ãæ
å ±ã®ãã¼ããã¤ã³ãã¼ããè¡ãã¨ãã«ãã¼ãã«ã使ãã¦ãã·ã¹ãã ãèªåçæããããã®START WIT
Hã®å¤ãä¸ãã¦ãã ããããã®ãããªç¶æ³ããã§ãã¯ãã¦ãèµ·ããªãããã«ããããã«ã主ãã¼ã䏿æ§å¶ç´ãGENERATED BY DEFAULTã®èå¥ååã«ä½¿ããã¨ãã§ãã¾ãã</p></dd>
+</dlentry></dl></p><p>æ¢å®ã§ã¯èå¥ååã®åæå¤ã¯1ã§ããããã«å¢åå¤ã¯1ã§ãã
+åãå®ç¾©ããã¨ããåæå¤ã¨å¢åå¤ã®ä¸¡æ¹ã«ãSTART WITHã¨INCREMENT BYã¨ãããã¼ã¯ã¼ãã使ã£ã¦ãæç¤ºçãªå¤ãæå®ãããã¨ãã§ãã¾ããããã«å¢åå¤ã«è² ã®å¤ãä¸ããã¨ãæ¿å
¥æ¯ã«<ph conref="../conrefs.dita#prod/productshortname"></ph>ã¯å¤ã<i>æ¸ãã¦</i>ããã¾ãã
+ããå¤ãæ£ã®å¤ã§ããã°ãæ¿å
¥æ¯ã«<ph conref="../conrefs.dita#prod/productshortname"></ph>ã¯å¤ãå¢å ããã¦ããã¾ãã å¤ã«0ãä¸ããã¨ä¾å¤ãçºçãã¾ãã</p>
+<p>èå¥ååã«ã¦å¯è½ãªæå¤§å¤ã¨æå°å¤ã¯ãåã®ãã¼ã¿åã«ããã¾ãããã¼ã¿åã§æ¡ããã¨ã®ã§ããç¯å²å¤ã®å¤ãæ¿å
¥ãããã¨ããã¨ãä¾å¤ãçºçãã¾ãã<table frame="all">
+<title>çºçªå仿§ã«ã¦ãåã§ã¨ããã¨ãå¯è½ãªæå¤§å¤ã¨æå°å¤</title>
+<tgroup cols="3" colsep="1" rowsep="1"><colspec colname="1" colnum="1" colwidth="16*"/>
+<colspec colname="2" colnum="2" colwidth="42*"/><colspec colname="3" colnum="3"
+colwidth="42*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">ãã¼ã¿å</entry>
+<entry align="left" colname="2" valign="bottom">æå¤§å¤</entry>
+<entry align="left" colname="3" valign="bottom">æå°å¤</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1">SMALLINT</entry>
+<entry colname="2">32767 (<i>java.lang.Short.MAX_VALUE</i>)</entry>
+<entry colname="3">-32768 (<i>java.lang.Short.MIN_VALUE</i>)</entry>
+</row>
+<row>
+<entry colname="1">INT</entry>
+<entry colname="2">2147483647 (<i>java.lang.Integer.MAX_VALUE</i>)</entry>
+<entry colname="3">-2147483648 (<i>java.lang.Integer.MIN_VALUE</i>)</entry>
+</row>
+<row>
+<entry colname="1">BIGINT</entry>
+<entry colname="2">9223372036854775807 (<i>java.lang.Long.MAX_VALUE</i>)</entry>
+<entry colname="3">-9223372036854775808 (<i>java.lang.Long.MIN_VALUE</i>)</entry>
+</row>
+</tbody>
+</tgroup>
+</table></p><p>èå¥ååã«ã¦èªåçã«çæãããå¤ã¯ä¸æã§ãã主ãã¼å¶ç´ã䏿æ§å¶ç´ãåã«å®ç¾©ãããã¨ã§ã䏿æ§ãä¿éããäºãã§ãã¾ããèå¥ååãå®ç¾©ãã¦ããåã®ç´¢å¼ã¯<i>ä½ããã¾ãã
+ã</i></p>
+<p><codeph>IDENTITY_VAL_LOCAL</codeph>颿°ã¯ãéæ±ºå®æ§ã®é¢æ°ã§æå¾ã«èå¥ååã«ä¸ããããå¤ãè¿ãã¾ãã詳細ã«ã¤ãã¦ã¯ã<xref href="rrefidentityvallocal.dita#rrefidentityvallocal"></xref>ãåç
§ãã¦ãã ããã</p>
+<note>ã¹ãã¼ãã»è¡¨ã»åã®ååã¯ããªãããããèå¥åã使ããªãéãã常ã«ã·ã¹ãã 表ã«ã¦å¤§æåã§è¨é²ããã¾ãã</note>
+<p><ph conref="../conrefs.dita#prod/productshortname"></ph>ã¯åã«å¯¾ãã¦æå¾ã«çºçªãããå¤ããã£ãã·ã¥ã«æ®ãã¦ãã¾ããã¾ãããã£ã¹ã¯ä¸ã§ã¯ã<i>SYS.SYSCOLUMNS</i>ã¨ããã·ã¹ãã 表ã®<i>AUTOINCREMENTVALUE</i>ã¨ããåã«ã次ã®å¤ãè¨é²ãã¦ãã¾ãã ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã¦ããã®å¤ã¯åãæ¶ããã¾ããããããã£ã¦ããã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãããã¨ãèå¥ååã«æ¿å
¥ãããèªåçæå¤ã«ã¯ã空ããçºç�
�ããã¨ã¨ãªãã¾ãã
+<ph conref="../conrefs.dita#prod/productshortname"></ph> ã¯ãã®ããã«åä½ãããã¨ã§ã<i>SYS.SYSCOLUMNS</i>ã®è¡ããã©ã³ã¶ã¯ã·ã§ã³ã®æéä¸ããã¯ãç¶ãããã¨ãåé¿ãã¦ãé«ãå¹³è¡æ§ãä¿ã£ã¦ãã¾ãã</p><p><indexterm>Identity
+columns <indexterm>and triggers</indexterm></indexterm>ããªã¬ãããSQLæã«ã¦èå¥ååã«å¤ãæ¿å
¥ãããå ´åããã®SQLæã§æ¿å
¥ãããå¤ã¯ãããªã¬ã®ã³ã¼ãå
ã§ã®ã¿<i>ConnectionInfo</i>ããåå¾å¯è½ã§ãã
+ã¾ããããªã¬ã®ã³ã¼ãã¯ããªã¬ãã²ããæãæ¿å
¥ããå¤ãåå¾ãããã¨ãã§ãã¾ãã
+ããããããªã¬ãã²ããæã¯ãããªã¬ãããSQLæãèå¥ååã«æ¿å
¥ããå¤ãç¥ããã¨ãã§ãã¾ããã
+ããã«ããªã¬ã¯å
¥ãå(å帰)ã®å ´åãåããããªãã¨ã¨ãªãã¾ãã
+SQLæã«ããT1ã¨ããããªã¬ãçºç«ãããæ¬¡ã«T1ã®å®è¡ããSQLã«ããT2ã¨ããããªã¬ãçºç«ãããã¨ãã¾ããããã§T1ãT2ã表ã«èå¥ååã«å¤ãããè¡ãæ¿å
¥ããå ´åãT1ã¯T2ãæ¿å
¥ããå¤ãè¦ããã¨ã¯ã§ãã¾ããããT2ã¯T1ãæ¿å
¥ããå¤ãè¦ããã¨ãã§ãã¾ããããããã®å
¥ãåã«ãªã£ãããªã¬ã¯èªåèªèº«ã¨ãå帰çãªããªã¬ãéå§ããSQLãå«ãã¦ãå
¥ãåã®ã¬ãã«ãåã®å¦çã«ã¦çæ
ãããå¤ãè¦ããã¨ãã§ãã¾ãã
+ãªãããªã¬ã®å帰ã¯16ã¾ã§å¯è½ã§ãã</p> </section>
+<section><title>ä¾</title><codeblock>create table greetings
+ (i int generated by default as identity (START WITH 2, INCREMENT BY 1),
+ ch char(50));
+-- 1ãæå®ããã
+insert into greetings values (1, 'hi');
+-- çæãããæ¢å®å¤ã使ã
+insert into greetings values (DEFAULT, 'salut');
+-- çæãããæ¢å®å¤ã使ã
+insert into greetings(ch) values ('bonjour'); </codeblock></section>
+</refbody>
+</reference>
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj37836.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38716.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38716.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38716.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38716.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,43 @@
+<?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="rrefsqlj38716" xml:lang="ja">
+<title>COUNT 颿°</title>
+<prolog><metadata>
+<keywords><indexterm>COUNT aggregate function</indexterm><indexterm>DISTINCT<indexterm>qualifier
+in COUNT aggregate function</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>COUNTã¯å¼ã®è¡æ°ãæ°ããéç´é¢æ°ã§ãã(<xref href="rrefsqlj33923.dita#rrefsqlj33923"></xref>ãåç
§ãã¦ãã ããã)
+COUNTã¯ã©ã®ãããªåã®å¼ã§ãå©ç¨ã§ãã¾ãã</p></section>
+<refsyn><title>æ§æ</title><codeblock><b>COUNT ( [ DISTINCT | ALL ] <i>å¼</i> ) </b></codeblock><p>DISTINCTã¨ããéå®è©ã«ããéè¤ãåãé¤ããã¨ãã§ãã¾ããALLã¨ããéå®è©ã«ããéè¤ããã®ã¾ã¾ã«ãããã¨ãã§ãã¾ããããDISTINCTãALLãæå®ãããªããã°ãALLãä¸ãããããã®ã¨ãã¾ããä¾ãã°ãåã«1ã1ã1ã1ããã³2ã¨ããå¤ããã£ãå ´åãCOUNT(col)ã¯COUNT(DISTINCT col)ãã大ããªæ°ãè¿ãã¾ãã</p>
+<p>ä¸ã¤ã®<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã«ã¯ãå¯ä¸ã¤ã®DISTINCTéç´å¼ãã¨ããã¨ãã§ãã¾ããä¾ãã°æ¬¡ã®ããã«ååããäºã¯ã§ãã¾ããã</p><codeblock><b><ph>-- åãåããã§ããªã</ph>
+SELECT COUNT (DISTINCT flying_time), SUM (DISTINCT miles)
+FROM Flights</b></codeblock>
+<p><i>å¼</i>ã«ã¯è¤æ°ã®åã¸ã®åç
§ãå¼ãç½®ãäºãã§ãã¾ãããä»ã®éç´ãå¯ååããç½®ããã¨ã¯ã§ãã¾ããã
+ãã<i>å¼</i>ãNULLã¨è©ä¾¡ãããå ´åããã®è©ä¾¡å¤ã«ã¤ãã¦éç´ã¯è¡ããã¾ããã</p>
+<p>COUNTã«ããçµæã®ãã¼ã¿åã¯ã<xref href="rrefsqlj10696.dita#rrefsqlj10696">INTEGER</xref>ã§ãã</p> </refsyn>
+<example> <codeblock><b><ph>-- ããããã®å°åã®å½ã®æ°ãæ°ãã
+-- äºå½ä»¥ä¸ããå°åã表示ããã</ph>
+SELECT COUNT (country), region
+FROM Countries
+GROUP BY region
+HAVING COUNT (country) > 1</b></codeblock> </example>
+</refbody>
+</reference>
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38716.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38831.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38831.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38831.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38831.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,42 @@
+<?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="rrefsqlj38831" xml:lang="ja">
+<title>SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICSã·ã¹ãã æç¶ã</title>
+<refbody>
+<section><p><codeph>SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICS()</codeph>ã·ã¹ãã æç¶ãã«ãããæ¥ç¶ã«å¯¾ããå®è¡æçµ±è¨ã®onã¨offãåãæ¿ãããã¾ãã
+æ¢å®ã§ã¯å®è¡æçµ±è¨ã¯åä½ãã¦ãã¾ããã<codeph>runtimestatistics</codeph>屿§ãonã«ããã¨ã屿§ãoffã«ãªãã¾ã§ã®éã<ph conref="../conrefs.dita#prod/productshortname"></ph>ã¯ãæ¥ç¶ã§å®è¡ãããcommit以å¤ã®åæã®å®è¡è¨ç»ã®æ
å ±ãããã¡ç¶ãã¾ãã
+<codeph>runtimestatistics</codeph>屿§ãoffã«ããã«ã¯ã弿°ã0ã§æç¶ããå¼ã³ã¾ãã
+<codeph>runtimestatistics</codeph>屿§ãonã«ããã«ã¯ã弿°ã0ã§ã¯ãªãä»»æã®æ°ã§æç¶ããå¼ã³ã¾ãã</p></section>
+<section>
+<p>è¡ãè¿ããªãæã«å¯¾ãã¦å®è¡è¨ç»ã®æ
å ±ãä½ãããã®ã¯ãã¯ã©ã¤ã¢ã³ãããã°ã©ã ã«å¦çãè¿ãåã®å
é¨å¦çãçµãã£ãæã§ããè¡ãè¿ãæã«å¯¾ãã¦ã¯ãåãã¦å¼ãã <codeph>next()</codeph>ã0è¡è¿ããæããããã¯<codeph>close()</codeph>ãå¼ã³åºãããæã®ãä½ããæ©ãã»ãã§ãã</p></section>
+<section><title>æ§æ</title> <codeblock>SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICS(IN SMALLINT ENABLE)</codeblock></section>
+<section><title>ä¾</title>
+<codeblock>
+-- æ¥ç¶ãã¾ãã
+-- æ¥ç¶ã®RUNTIMESTATISTICãonã«ãã¾ãã
+<b>CALL SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICS(1);</b>
+-- è¤éãªååããè¡ãã¾ãã
+-- çµæã»ããããªãã¾ãã
+-- å®è¡æçµ±è¨ã®æ
å ±ã«ã¢ã¯ã»ã¹ãã¾ãã
+<b>CALL SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICS(0);</b></codeblock></section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj38831.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40506.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40506.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40506.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40506.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,74 @@
+<?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="rrefsqlj40506" xml:lang="ja">
+<title>LOCK TABLE æ</title>
+<prolog><metadata>
+<keywords><indexterm>LOCK TABLE statement</indexterm><indexterm><indexterm>SQL
+statements</indexterm>LOCK TABLE</indexterm><indexterm>tables<indexterm>locking</indexterm></indexterm>
+<indexterm>lock escalation<indexterm>by user</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section>
+<p>LOCK TABLEæã«ããæç¤ºçã«ã表ã«å
±æãããã¯æä»ã®ããã¯ãããããã¨ãã§ãã¾ãã
+表ã¸ã®ããã¯ã¯ç¾å¨ã®ãã©ã³ã¶ã¯ã·ã§ã³ãçµäºããã¾ã§ã®éãç¶ãã¾ãã</p>
+<p>表ãããã¯ã§ããã®ã¯ã<xref href="rrefattrib26867.dita#rrefattrib26867">ãã¼ã¿ãã¼ã¹ã®ææè
</xref>ã¨è¡¨ã®ææè
ã§ãã</p>
+<p>æç¤ºçãªè¡¨ã¸ã®ããã¯ã¯æ¬¡ã®å ´åã«ä¾¿å©ã§ãã<ul>
+<li>表ã®è¤æ°è¡ã¸ã®ããã¯ã«ãããªã¼ãã¼ããããé¿ããæã(è¨ãæããã°ã¦ã¼ã¶èªããããã¯ã¨ã¹ã«ã¬ã¼ã·ã§ã³ãè¡ãæã)</li>
+<li>ãããããã¯ãé¿ããæ</li>
+</ul></p>
+<p>ãã®æã§ã·ã¹ãã 表ã«ããã¯ãããããã¨ã¯ã§ãã¾ããã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>LOCK TABLE <i><xref href="rreftablename.dita#rreftablename">表å</xref></i> IN { SHARE | EXCLUSIVE } MODE</b
+></codeblock>
+<p>ãããã®ã¢ã¼ãã§ãã£ã¦ãããã©ã³ã¶ã¯ã·ã§ã³ã¯è¡¨ãããã¯ããå¾ããã以ä¸ã®è¡ãã¨ã®ããã¯ãå¾ããã¨ã¯ã§ãã¾ãããä¾ãã°ãæ
å ±ãèªãããã«ãã©ã³ã¶ã¯ã·ã§ã³ã<codeph>Flights</codeph>ã¨ãã表ã®å
¨ä½ãå
±æã¢ã¼ãã§ããã¯ããå¾ãããæã«ã¦è¡ãæ´æ°ããããã«ç¹å®ã®è¡ã¸ã®æä»ããã¯ãå¿
è¦ã¨ããã¨ãã¾ããããããªãããæ¢ã«<codeph>Flights</codeph>表ã¸ã®ããã¯ããããããæä»ã
ãã¯ã表æ¯ã¨ãªãå¿
è¦ãããã¾ãã</p>
+<p>ä»ã®æ¥ç¶ã表ã«å¯¾ãã¦æ¢ã«ããã¯ãããã¦ããããããã®è¡¨ã¸ã®ããã¯ãåå¾ã§ããªãå ´åããããããã¯ã®ã¿ã¤ã ã¢ã¦ãæéãçµéããå¾ãæã¸ã®ä¾å¤ãçºçãã¾ãã(<i>SQLState</i> X0X02)</p> </refsyn>
+<example><title>ä¾</title>
+<p>è¡æ¯ã®ããã¯ãå¤éã«çºçãããã¨ãé¿ãããããå
±æã¢ã¼ãã§<codeph>Flights</codeph>ã¨ãã表å
¨ä½ã¸ã®ããã¯ãè¡ãã«ã¯ä»¥ä¸ã®æã使ãã¾ãã
+<codeblock>LOCK TABLE Flights IN SHARE MODE;
+SELECT *
+FROM Flights
+WHERE orig_airport > 'OOO';
+</codeblock></p>
+<p>è¤æ°ã®UPDATEæãçºè¡ãããã©ã³ã¶ã¯ã·ã§ã³ãä¸ã¤ããã¨ãã¾ãã
+åã
ã®æã¯ããããªè¡æ¯ã®ããã¯ããå¿
è¦ã¨ããªãã®ã§ããã©ã³ã¶ã¯ã·ã§ã³ã¯ããã¯ã表æ¯ã«å¤æ´ãã¾ããããããUPDATEæã®æ°ãå¤ãã®ã§ãåå¾ã¨éæ¾ãè¡ãããããã¯ã®å»¶ã¹æ°ã¯å¤ããªãããããããã¯ã«ãªãããã¾ããã
+ãã®ãããªãã©ã³ã¶ã¯ã·ã§ã³ã§ã¯ãæåã«æä»ã¢ã¼ãã§è¡¨ãããã¯ãã¾ãã
+ä¾ã以ä¸ã«ç¤ºãã¾ãã<codeblock>LOCK TABLE FlightAvailability IN EXCLUSIVE MODE;
+UPDATE FlightAvailability
+SET economy_seats_taken = (economy_seats_taken + 2)
+WHERE flight_id = 'AA1265' AND flight_date = DATE('2004-03-31');
+
+UPDATE FlightAvailability
+SET economy_seats_taken = (economy_seats_taken + 2)
+WHERE flight_id = 'AA1265' AND flight_date = DATE('2004-04-11');
+
+UPDATE FlightAvailability
+SET economy_seats_taken = (economy_seats_taken + 2)
+WHERE flight_id = 'AA1265' AND flight_date = DATE('2004-04-12');
+
+UPDATE FlightAvailability
+SET economy_seats_taken = (economy_seats_taken + 2)
+WHERE flight_id = 'AA1265' AND flight_date = DATE('2004-04-15');
+</codeblock></p>
+<p>ãã©ã³ã¶ã¯ã·ã§ã³ãè¡¨ãæ´æ°ããåã«ããã®è¡¨ãã¿ãå¿
è¦ãããå ´åããããããã¯ãé¿ãããããè¡¨ã«æä»ããã¯ãããã¾ãã
+ä¾:<codeblock>LOCK TABLE Maps IN EXCLUSIVE MODE;
+SELECT MAX(map_id) + 1 FROM Maps;
+-- INSERT INTO Maps . . .</codeblock></p> </example>
+</refbody>
+</reference>
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40506.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40774.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40774.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40774.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40774.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,78 @@
+<?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="rrefsqlj40774" xml:lang="ja">
+<title>INSERT æ</title>
+<prolog><metadata>
+<keywords><indexterm>INSERT statement</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p><indexterm>Read-write VTIs<indexterm>and INSERTs</indexterm></indexterm>
+INSERTæã«ããä¸ã¤ä»¥ä¸ã®è¡ã使ãã¦ãæå®ããååã®è¡¨ã«æ ¼ç´ã§ãã¾ãã
+INSERTæã§æå®ãããå¤ã®æ°ã¯ãæå®ãããåãããã¯æç¤ºãããåã®æ°ã¨åãã§ãªããã°ãªãã¾ããã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>INSERT INTO 表å
+ [ (<i><xref href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i> [ , <i><xref
+href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i>]* ) ]
+ ååã</b></codeblock> <p><i>ååãã«ã¯</i>以ä¸ã®ãããããã¨ããã¨ãã§ãã¾ãã
+<ul>
+<li><i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i></li>
+<li>VALUESä¸è¦§</li>
+<li>è¤æ°è¡VALUESå¼<p>åä¸è¡ãããã¯è¤æ°è¡ã®ä¸è¦§ã«ã¯ãDEFAULTã¨ãããã¼ã¯ã¼ããå«ãããã¨ãã§ãã¾ããåã«DEFAULTãæå®ããã¨ããã®åã«ã¯æ¢å®å¤ãæ¿å
¥ããã¾ããåã«æ¢å®å¤ãæ¿å
¥ããå ´åãåã®ä¸è¦§ã«ã¦ãã®åãçç¥ãã¦ã表ã®ã»ãã®åã«å¤ãæ¿å
¥ãããã¨ãã§ãã¾ãã詳細ã«ã¤ãã¦ã¯<xref
+href="rrefsqlj11277.dita#rrefsqlj11277">VALUESå¼</xref>ãåç
§ãã¦ãã ããã</p></li>
+<li>UNIONå¼</li>
+</ul></p> <p>ååãã®è©³ç´°ã«ã¤ãã¦ã¯ã<xref href="rrefsqlj21571.dita#rrefsqlj21571"></xref>ãåç
§ãã¦ãã ããã</p> </refsyn>
+<example> <codeblock><b>INSERT INTO COUNTRIES
+ VALUES ('Taiwan', 'TW', 'Asia')
+
+-- DEPARTMENTã¨ããè¡¨ã«æ°ããé¨ç½²ãæ¿å
¥ãã¾ãã
+-- ãã ããæ°ããé¨ç½²ã«æ°ãã管çè
ã¯å²ãå½ã¦ã¾ããã
+INSERT INTO DEPARTMENT (DEPTNO, DEPTNAME, ADMRDEPT)
+ VALUES ('E31', 'ARCHITECTURE', 'E01')
+<ph>-- 2ã¤ã®æ°ããé¨ç½²ãä¸ã¤ã®æã§åã¨åãããã«DEPARTMENTã¨ããè¡¨ã«æ¿å
¥ãã¾ãã
+-- ãã ããæ°ããé¨ç½²ã«æ°ãã管çè
ã¯å²ãå½ã¦ã¾ããã</ph>
+INSERT INTO DEPARTMENT (DEPTNO, DEPTNAME, ADMRDEPT)
+ VALUES ('B11', 'PURCHASING', 'B01'),
+ ('E41', 'DATABASE ADMINISTRATION', 'E01')
+<ph>-- EMP_ACTã¨åãåãæã¤ãMA_EMP_ACTã¨ãã
+-- ä¸æè¡¨ãä½ãã¾ãã
+-- MA_EMP_ACTã«EMP_ACTã¨ãã表ããã
+-- ããã¸ã§ã¯ãçªå·(PROJNO)ã'MA'ã¨ããæåã§å§ã¾ãè¡ããã¼ããã¾ãã</ph>
+CREATE TABLE MA_EMP_ACT
+ (
+ EMPNO CHAR(6) NOT NULL,
+ PROJNO CHAR(6) NOT NULL,
+ ACTNO SMALLINT NOT NULL,
+ EMPTIME DEC(5,2),
+ EMSTDATE DATE,
+ EMENDATE DATE
+ );
+
+INSERT INTO MA_EMP_ACT
+ SELECT * FROM EMP_ACT
+ WHERE SUBSTR(PROJNO, 1, 2) = 'MA';
+<ph>-- LOCATIONã¨ããåã«DEFAULTã®å¤ãæ¿å
¥ãã¾ãã</ph>
+INSERT INTO DEPARTMENT
+ VALUES ('E31', 'ARCHITECTURE', '00390', 'E01', DEFAULT)
+</b></codeblock> </example>
+<section><title>æã®ä¾å</title>
+<p>INSERT æã¯æ¿å
¥å
ã®è¡¨ãããã®è¡¨ã®å
¨ã¦ã®ã³ã³ã°ãããªãã(ãã¼ããç´¢å¼ãªã©ã®è¨é²ã®åä½ã§ãã)ããæä¸ã®ãã®ä»ã®è¡¨ã«ä¾åãã¾ããæºåãããINSERTæã®å¯¾è±¡è¡¨ã«ã¦ãç´¢å¼ãå¶ç´ã使ãããç ´æ£ãããããã¨ããã®æºåãããINSERTæã¯ç¡å¹ã¨ãªãã¾ãã</p> </section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40774.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40899.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40899.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40899.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40899.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="rrefsqlj40899" xml:lang="ja">
+<title>Concatenation</title>
+<prolog><metadata>
+<keywords><indexterm>é£çµæ¼ç®å</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>é£çµæ¼ç®åã®||ã«ãããå³è¾ºã®ãªãã©ã³ãã左辺ã®ãªãã©ã³ãã®æ«å°¾ã«é£çµããã¾ãããã®æ¼ç®åã¯æåããããã®å¼ã«ä½ç¨ãã¾ãã</p>
+<p>å
¨ã¦ã®çµã¿è¾¼ã¿ã®ãã¼ã¿åã¯æé»è£¡ã«æååã«å¤æãããã®ã§ããã®é¢æ°ã¯å
¨ã¦ã®çµã¿è¾¼ã¿ã®ãã¼ã¿åã«ä½ç¨ãã¾ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>{
+ { <i>æåå¼</i> || <i>æåå¼</i> } |
+ <i>{ ãããå¼</i> || <i>ãããå¼</i> }
+}</b></codeblock> <p>æåå¼ã®å ´åãããå³è¾ºã¨å·¦è¾ºã®ãªãã©ã³ãã®åãã©ã¡ããCHARã§ããã°ãé£çµããçµæã¯CHARã§ãããã§ãªããªãé£çµããçµæã¯VARCHARã§ãã
+CHARãVARCHARã«ã¦ä¸è¬çãªã空ç½è©°ãå¤ã®ããªã ãããã®æ¼ç®åã®çµæã«ã¦é©ç¨ããã¾ãã</p>
+<p>çµææååã®é·ãã¯ä¸¡æ¹ã®ãªãã©ã³ãã®é·ãã®åã§ãã</p>
+<p>ãããåã«ã¤ãã¦ã¯ãããå³è¾ºã¨å·¦è¾ºã®ãªãã©ã³ãã®åãã©ã¡ããCHAR FOR BIT DATAã§ããã°ãé£çµããçµæã¯CHAR FOR BIT DATAã§ãããã§ãªããªãé£çµããçµæã¯VARCHAR FOR BIT DATAã§ãã</p> </refsyn>
+<example> <codeblock><b><ph>--è¿ãå¤ã¯'supercalifragilisticexbealidocious(sp?)'ã§ãã</ph>
+VALUES 'supercalifragilistic' || 'exbealidocious' || '(sp?)'
+<ph>-- NULLãè¿ãã¾ãã</ph>
+VALUES CAST (null AS VARCHAR(7))|| 'AString'
+<ph>-- '130asdf'ãè¿ãã¾ãã</ph>
+VALUES '130' || 'asdf'</b></codeblock> </example>
+</refbody>
+</reference>
+
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj40899.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41180.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41180.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41180.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41180.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="rrefsqlj41180" xml:lang="ja">
+<title>SET ISOLATION æ</title>
+<prolog><metadata>
+<keywords><indexterm>SET ISOLATION statement</indexterm><indexterm>ISOLATION</indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>SET ISOLATIONæã«ããæ¥ç¶ã®åé¢ã¬ãã«ã夿´ãããã¨ãã§ãã¾ããã¨ããã¨ã®ã§ããåé¢ã¬ãã«ã¯SERIALIZABLEãREPEATABLE READãREAD COMMITTEDãREAD UNCOMMITTEDã§ãã</p>
+<p>ãã®æãçºè¡ããã¨ç¾å¨ã®ãã©ã³ã¶ã¯ã·ã§ã³ã¯å¸¸ã«ã³ãããããã¾ããJDBCã®<i>java.sql.Connection.setTransactionIsolation</i>ã¡ã½ããã¯ãå¯ä¸ã¤ã®ä¾å¤ãé¤ãããã®ã³ãã³ãã¨ã»ã¼åããã®ã§ããçµè¾¼ã¿ã®ãã©ã¤ãã使ã£ã¦<i>java.sql.Connection.setTransactionIsolation</i>ãå¼ãã å ´åãåé¢ã¬ãã«ã夿´ããªããã°(ã¤ã¾ãç¾å¨ã®å¤ãåé¢ã¬ãã«ã¨ãã¦è¨å®ããå ´å)ãç¾å¨ã®ãã©ã³ã¶ã¯ã·ã§ã³ã¯ã³ãããããã¾ããã</p>
+<p>åé¢ã¬ãã«ã«ã¤ãã¦ã®æ
å ±ã¯ã<cite><ph conref="../conrefs.dita#pub/citdevelop"></ph></cite>ã«ããã"ããã¯ãåæå¹³è¡åº¦ãåé¢"ãåç
§ãã¦ãã ãããJDBCã®<i>java.sql.Connection.setTransactionIsolation</i>ã¡ã½ããã«ã¤ãã¦ã¯ã<xref href="rrefjavcsti.dita#rrefjavcsti"></xref>ãåç
§ãã¦ãã ããã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>SET [ CURRENT ] ISOLATION [ = ]
+{
+UR | DIRTY READ | READ UNCOMMITTED
+CS | READ COMMITTED | CURSOR STABILITY
+RS |
+RR | REPEATABLE READ | SERIALIZABLE
+RESET
+}
+</b></codeblock> </refsyn>
+<example> <codeblock><b>set isolation serializable;</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41180.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41207.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41207.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41207.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41207.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,44 @@
+<?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="rrefsqlj41207" xml:lang="ja">
+<title>VARCHARãã¼ã¿å</title>
+<prolog><metadata>
+<keywords><indexterm>VARCHAR data type</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>VARCHARã§ã¯æååãè¨é²ããå¯å¤é·ã®é åãæä¾ããã¾ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>{ VARCHAR | CHAR VARYING | CHARACTER VARYING }(<i>é·ã</i>) </b></codeblock> <p><i>é·ã</i>ã¯ç¬¦å·ã®ãªãæ´æ°ã®å®æ°ã§ãã
+æååã®é·ãã¯<i>é·ã</i>ã®å¤ãã<i>java.lang.Integer.MAX_VALUE</i>ãã大ããªå¤ã§ãã£ã¦ã¯ãªãã¾ããã</p>
+<p>
+VARCHARã®æååã®æå¤§é·ã¯32,672æåã§ãã</p> </refsyn>
+<section><title>対å¿ããã³ã³ãã¤ã«æã®Javaã®å</title> <p><i>java.lang.String</i></p> </section>
+<section><title>JDBCã®ã¡ã¿ãã¼ã¿å (java.sql.Types)</title> <p>VARCHAR</p>
+<p>
+<ph
+conref="../conrefs.dita#prod/productshortname"></ph> ã¯æå®ãããé·ãã«æºããªãVARCHARã®å¤ãæåè©°ããã¾ããã
+<ph conref="../conrefs.dita#prod/productshortname"></ph>ã¯VARCHARã§æå®ããããã大ããªæåæ°ã®å¤ãä¸ããããå ´åãæååãã空ç½ãåãæ¨ã¦ã¾ãã
+空ç½ä»¥å¤ã®æåã¯åãæ¨ã¦ãããªãã®ã§ãä¾å¤ãæããåå ã¨ãªãã¾ãã
+VARCHARã«å¯¾ãã¦<xref href="rrefsqlj23075.dita#rrefsqlj23075">æ¯è¼æ¼ç®å</xref>ãé©ç¨ãããå ´åããªãã©ã³ãã®é·ããå¤ãããã¨ã¯ããã¾ããããå¤ã®æ«å°¾ã«ãã空ç½ã¯ç¡è¦ããã¾ãã</p>
+<p>ä¸ã¤ã®å¼ã«ã¦CHARãVARCHARãæ··å¨ãã¦ä½¿ãããå ´åãæååé·ã®çãå¤ã¯æååé·ã®é·ãå¤ã«åããã¦ãç©ºç½æåã§æåè©°ãããã¾ãã</p>
+<p>æåå宿°ã®åã¯VARCHARã§ã¯ãªãCHARã§ãã</p> </section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41207.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41360.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41360.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41360.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41360.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,90 @@
+<?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="rrefsqlj41360" xml:lang="ja">
+<title>SELECT æ</title>
+<prolog><metadata>
+<keywords><indexterm>SELECT statement</indexterm><indexterm>ORDER BY clause<indexterm>needed
+to guarantee order of results</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<refsyn><title>æ§æ</title> <codeblock><b><i><xref href="rrefsqlj21571.dita#rrefsqlj21571">ååã</xref></i>
+[<i><xref href="rrefsqlj13658.dita#rrefsqlj13658">ORDER BY ç¯</xref></i>]
+[<i><xref href="rrefsqlj31783.dita#rrefsqlj31783">FOR UPDATE ç¯</xref></i>]
+WITH {RR|RS|CS|UR}</b></codeblock></refsyn>
+<section> <p>SELECTæã¯ååãã¨ãçç¥å¯è½ãª<xref
+href="rrefsqlj13658.dita#rrefsqlj13658">ORDER BY ç¯</xref>ã¨<xref href="rrefsqlj31783.dita#rrefsqlj31783">FOR UPDATE ç¯</xref>ããæ§æããã¾ãã
+SELECTæã¯ãååãã®æåã®åèªãä¸è¬çã«SELECTãªã®ã§ããã®ååãä¸ãããã¦ãã¾ãã(<i>ååã</i>ã¯é¸æå¼ä»¥å¤ã«ããVALUESå¼ãUNIONãINTERSECTãEXCEPTå¼ã§ããå ´åãããã¾ãã)</p>
+ <p><xref href="rrefsqlj13658.dita#rrefsqlj13658">ORDER BY ç¯</xref>ã«ããã<i>ResultSet</i>ã®ä¸¦ã³é ãæç¤ºããã¾ãã<xref href="rrefsqlj31783.dita#rrefsqlj31783">FOR UPDATE ç¯</xref>ã«ãããçµæã®ã«ã¼ã½ã«ãæ´æ°å¯è½ã«ãããã¨ãã§ãã¾ããSELECTæã«ã¯FOR EACH ONLY ç¯ãç½®ããã¨ãã§ãã¾ããFOR EACH ONLY ç¯ã¨FOR READ ONLYç¯ã¯åããã®ã§ãã</p>
+<p>SELECTæã«ã¦WITH {RR|RS|CS|UR}ã¨ããæ¸ãæ¹ã§åé¢ã¬ãã«ãæå®ãããã¨ãã§ãã¾ãã</p></section>
+
+<example><title>ä¾</title>
+<codeblock><b>
+<ph>-- SAL+BONUS+COMMã¨ååã並ã¹ã¦ãTOTAL_PAYã¨ããååãã¤ãã
+-- ãã®ååã§ä¸¦ã³æ¿ããã</ph>
+SELECT FIRSTNME, SALARY+BONUS+COMM AS TOTAL_PAY
+ FROM EMPLOYEE
+ ORDER BY TOTAL_PAY
+<ph>-- FOR UPDATEç¯ãæå®ãããã¨ã§ã
+-- PROJECTã¨ãã表ã«ãããéå§æ¥æ(PRSTDATE)ãçµäºæ¥æ(PRENDATE)ã¨ããåãæ´æ°ããã
+-- æ´æ°å¯è½ãªã«ã¼ã½ã«ã使ãã</ph>
+SELECT PROJNO, PRSTDATE, PRENDATE
+ FROM PROJECT
+ FOR UPDATE OF PRSTDATE, PRENDATE
+<ph>-- ãã®æã«éãåé¢ã¬ãã«ãRRã«ããã</ph>
+SELECT *
+FROM Flights
+WHERE flight_id BETWEEN 'AA1111' AND 'AA1112'
+WITH RR</b></codeblock>
+<p>SELECTæã¯<i>ResultSet</i>ãè¿ãã¾ãã
+<i>ã«ã¼ã½ã«</i>ã¯<i>ResultSet</i>ã«ããè¡ã¸ã®ãã¤ã³ã¿ã§ããJavaã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ã<i>ResultSets</i>ã«ã¯å¯¾å¿ããSQLã®ã«ã¼ã½ã«ãããã¾ããã«ã¼ã½ã«ã¯æ´æ°å¯è½ã¨ãããã¨ãã§ãã¾ãããããã£ã¦ãååããå¾ã«è¿°ã¹ãæ´æ°å¯è½ã®æ¡ä»¶ã«é©åããã®ã§ããã°ã<i>ResultSet</i>ãéãã¦è¡ã®æ´æ°ãåé¤ãå¯è½ã§ããFOR UPDATE ç¯ã«ãããSQLã®ã³ã³ãã¤ã«æã«SELECTæãæ´æ°å¯è½ãªã«ã¼ã½ã«ã®è¦ä»¶ã«é©åãããã
確ãããäºãããããã¯åãæ´æ°å¯è½ãªãã®ã®ã¿ã«éå®ããäºãã§ãã¾ãã
+<note>
+ORDER BYç¯ã«ããSELECTã®çµæãä¸¦ã³æ¿ãããã¨ãã§ãã¾ããORDER BYç¯ããªãå ´åãçµæã¯ç¡ä½çºãªä¸¦ã³é ã§ãã</note></p> </example>
+<section id="sqlj15384"><title>æ´æ°å¯è½ãªã«ã¼ã½ã«ããã³ResultSetã®è¦ä»¶</title>
+<p>æ´æ°å¯è½ãªã«ã¼ã½ã«ã¯ãå表ã¸ã®åç´ãªSELECTæã«ãããã®ã§ãªããã°ãªãã¾ããã
+æ´æ°å¯è½ãªResultSetãå¾ãããã®SELECTæã¯ãæ´æ°å¯è½ãªã«ã¼ã½ã«ã¨åãå¶éãåãã¾ããæ´æ°å¯è½ãªã«ã¼ã½ã«ã¨ããããã«ã¯ã: <ul>
+<li>SELECTæã«ã¯ORDER BYç¯ããã£ã¦ã¯ãªãã¾ããã</li>
+<li><i>ååã</i>ã¯<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã§ãªããã°ãªãã¾ããã</li>
+<li><i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã«ã¯ä»¥ä¸ããã£ã¦ã¯ãªãã¾ããã<ul>
+<li>DISTINCT</li>
+<li>éç´</li>
+<li>GROUP BY ç¯</li>
+<li>HAVING ç¯</li>
+<li>ORDER BY ç¯</li>
+</ul></li>
+<li><i>ååã</i>ã®FROMç¯ã«ã¯ä»¥ä¸ããã£ã¦ã¯ãªãã¾ããã<ul>
+<li>äºã¤ç®ä»¥éã®è¡¨</li>
+<li>表以å¤ã®åå</li>
+<li><i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref>s</i></li>
+<li>å¯åãåãã</li>
+</ul></li>
+</ul></p>
+<note>æ¢å®ã§ã«ã¼ã½ã«ã¯èªã¿åãå°ç¨ã§ããæ´æ°å¯è½ãªã«ã¼ã½ã«ãå¾ãããã«ã¯ãä¸è¨ã®è¦ä»¶ãæºãããã¨ã«å ãã¦ãResultSetã®åæä¸¦è¡ã¢ã¼ãã<codeph>ResultSet.CONCUR_UPDATABLE</codeph>ã¨ããããSELECTæã®FORç¯ã«FOR UPDATEãè¨è¿°ããªãã¦ã¯ãªãã¾ããã(<xref href="rrefsqlj31783.dita#rrefsqlj31783"></xref>ãåç
§ãã¦ãã ããã)</note>
+<p>SQLè¨èªã§ã¯ã«ã¼ã½ã«ã«ååãä¸ããäºãã§ãã¾ããããã®ãããã«JDBC APIã«ããã«ã¼ã½ã«ã«ååãä¸ããããã·ã¹ãã ãã«ã¼ã½ã«ã«ä¸ããååãåå¾ãããã¨ãã§ãã¾ãã詳細ã«ã¤ãã¦ã¯<cite><ph conref="../conrefs.dita#pub/citdevelop"></ph></cite>ã®<xref href="../devguide/tdevconcepts41704.dita">ã«ã¼ã½ã«ã¸ã®å½åããã³ååã®å©ç¨</xref>ãåç
§ãã¦ä¸ããã</p> </section>
+<section><title>æã®ä¾å</title>
+<p>SELECTã¯ãååãã®è¡¨ããã¥ã¼ããããã®è¡¨ã¸ã®ã¢ã¯ã»ã¹ãã¹ã«ã¦é¸æãããã³ã³ã°ãããªãã(ãã¼ããã¤ã³ããã¯ã¹ãªã©ã®è¨æ¶ã®åä½ã§ãã)ã«ä¾åãã¾ãã
+CREATE INDEXã§ã¯æºåãããSELECTæãç¡å¹ã«ãªããã¨ã¯ããã¾ããã
+DROP INDEXæã§ã¯ããç ´æ£ãããç´¢å¼ãæã«ã¦ã¢ã¯ã»ã¹ãã¹ãªããæºåãããSELECTæã¯ç ´æ£ããã¾ãã
+ããSELECTã«ãã¥ã¼ãå«ã¾ãã¦ããã°ããã¥ã¼ãä¾åãããã£ã¯ã·ã§ããªã®æ
å ±ã«ãä¾åãã¾ãã(<xref href="rrefsqlj15446.dita#rrefsqlj15446"></xref>ãåç
§ãã¦ãã ããã)</p>
+<p>SELECTã®ã«ã¼ã½ã«ã«å¯¾ãã¦ãæºåãããUPDATE WHERE CURRENTãããã¯DELETE WHERE CURRENTæã¯SELECTã«ä¾åãã¾ãã<i>java.sql.Statement.close </i>ã«ããSELECTãåãé¤ãã¨ãUPDATE WHERE CURRENT ããã³ DELETE WHERE CURRENTã¯ç¡å¹ã¨ãªãã¾ãã</p>
+<p>SELECTã¯ååãã«ããããããå¥åã«ä¾åãã¾ããå¥åãç ´æ£ãããã¨ã«ãããããæºåãããSELECTæã«ã¦å¥åã使ããã¦ãããªãããã®æã¯ç¡å¹ã«ãªãã¾ãã</p> </section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj41360.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42002.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42002.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42002.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42002.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="rrefsqlj42002" xml:lang="ja">
+<title>DOUBLE ãã¼ã¿å</title>
+<prolog><metadata>
+<keywords><indexterm>DOUBLE data type</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>DOUBLEã¯<xref href="rrefsqljdoubleprecision.dita#rrefsqljdoubleprecision">DOUBLE
+PRECISION</xref>ã®å¥åã§ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>DOUBLE</b></codeblock> </refsyn>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42002.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42049.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42049.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42049.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42049.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,39 @@
+<?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="rrefsqlj42049" xml:lang="ja">
+<title>LCASEãããã¯LOWER颿°</title>
+<prolog><metadata>
+<keywords><indexterm>LCASE or LOWER function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>LCASEããã³LOWERã¯å¼æ°ã«æåå¼ãã¨ããããããã¢ã«ãã¡ããããå°æåã«å¤ãã¦è¿ãã¾ãã</p> </section>
+<refsyn><title>æ§æ</title> <codeblock><b>LCASE ã¾ã㯠LOWER ( <i>æåå¼</i> ) </b></codeblock>
+<p><i>æåå¼</i>ã®ãã¼ã¿åã¯ãCHARãVARCHARãããã¯LONG VARCHARã¾ãã¯æé»ã«(ãããåã§ã¯ãªã)æååã«å¤æå¯è½ãªçµè¾¼ã¿ã®ãã¼ã¿åã§ãã</p>
+<p>ãã弿°ã®ãã¼ã¿åãCHARãããã¯LONG VARCHARã§ããã°ãè¿ãå¤ã®ãã¼ã¿åã¯ããããCHARãããã²ãLONG VARCHARã§ãããã以å¤ã®å ´åã¯è¿ãå¤ã®ãã¼ã¿åã¯VARCHARã§ãã</p>
+<p>è¿ãå¤ã®é·ããæå¤§é·ã¯å¼æ°ã®é·ããæå¤§é·ã¨åãã§ãã</p>
+<p>ãã<i>æåå¼</i>ãnullã«è©ä¾¡ããããªãã颿°ã®è¿ãå¤ã¯nullã§ãã</p> </refsyn>
+<example> <codeblock><b><ph>-- 'asd1#w'ãè¿ãã¾ãã</ph>
+VALUES LOWER('aSD1#w')
+
+SELECT LOWER(flight_id) FROM Flights</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42049.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42082.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42082.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42082.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42082.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="rrefsqlj42082" xml:lang="ja">
+<title>DROP TRIGGER æ</title>
+<prolog><metadata>
+<keywords><indexterm>DROP TRIGGER statement</indexterm><indexterm>Triggers<indexterm>dropping</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>DROP TRIGGER removes the specified trigger.</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>DROP TRIGGER <i><xref href="rreftriggername.dita#rreftriggername">ããªã¬å</xref></i></b></codeblock> </refsyn>
+<example> <codeblock><b>DROP TRIGGER TRIG1</b></codeblock> </example>
+<section><title>æã®ä¾å</title>
+<p>表ãç ´æ£ãããã¨ãããã®è¡¨ã®ããªã¬ã¯èªåçã«ç ´æ£ããã¾ãã(表ãç ´æ£ããåã«è¡¨ã®ããªã¬ãç ´æ£ããå¿
è¦ã¯ããã¾ããã)</p> </section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42082.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42154.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42154.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42154.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42154.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,39 @@
+<?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="rrefsqlj42154" xml:lang="ja">
+<title>表ãã¨ã®å¶ç´</title>
+<refbody>
+<example> <codeblock><b>[CONSTRAINT <i><xref href="rrefconstraintname.dita#rrefconstraintname">å¶ç´å</xref></i>]
+{
+ CHECK (<i><xref href="rrefsqlj91438.dita#rrefsqlj91438">æ¤ç´¢æ¡ä»¶</xref></i>) |
+ {
+ PRIMARY KEY ( <i><xref href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i> [ , <i><xref
+href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i> ]* ) |
+ UNIQUE ( <i><xref href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i> [ , <i><xref
+href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i> ]* ) |
+ FOREIGN KEY ( <i><xref href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i> [ , <i><xref
+href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i> ]* )
+<i> <xref href="rrefsqlj16357.dita#rrefsqlj16357">REFERENCES ç¯</xref></i>
+ }
+}</b></codeblock></example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42154.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42324.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42324.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42324.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42324.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="rrefsqlj42324" xml:lang="ja">
+<title>CURRENT_USER颿°</title>
+<prolog><metadata>
+<keywords><indexterm>CURRENT_USER function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>CURRENT_USER ã¯ç¾å¨ã®ã¦ã¼ã¶ã®èªè¨¼èå¥åãè¿ãã¾ãã
+(ã¤ã¾ããã¼ã¿ãã¼ã¹ã«æ¥ç¶ããã¨ãã«DBMSã«æ¸¡ããã¦ã¼ã¶ã®ååã§ãã)
+ããç¾å¨ã®ã¦ã¼ã¶ãããªãã®ãªãã<i>APP</i>ãè¿ãã¾ãã</p>
+<p><xref href="rrefsqlj42476.dita#rrefsqlj42476">USER</xref>ã¨<xref href="rrefsqlj25228.dita#rrefsqlj25228">SESSION_USER</xref>ã¨ããå¥åãããã¾ãã
+</p> <p>颿°ã¯æå¤§ã§128æåã®æååãè¿ãã¾ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>CURRENT_USER</b></codeblock> </refsyn>
+<example> <codeblock><b>VALUES CURRENT_USER</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42324.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42476.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42476.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42476.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42476.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,33 @@
+<?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="rrefsqlj42476" xml:lang="ja">
+<title>USER颿°</title>
+<prolog><metadata>
+<keywords><indexterm>USER function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>USERã¯ç¾å¨ã®ã¦ã¼ã¶ã®èªè¨¼èå¥åãè¿ãã¾ããããç¾å¨ã®ã¦ã¼ã¶ããªããã°ã<i>APP</i>ãè¿ãã¾ãã</p>
+<p>USERã<xref href="rrefsqlj42324.dita#rrefsqlj42324">CURRENT_USER</xref>ã<xref href="rrefsqlj25228.dita#rrefsqlj25228">SESSION_USER</xref>ã¯å¥åã§ãã</p></section>
+<refsyn><title>æ§æ</title><codeblock><b>USER</b></codeblock> </refsyn>
+<example> <codeblock><b>VALUES USER</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj42476.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native