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 [21/26] - in /db/derby/docs/trunk: ./ src/ja_JP/
src/ja_JP/ref/
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32268.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32268.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32268.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32268.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,74 @@
+<?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="rrefsqlj32268" xml:lang="ja">
+<title>SET SCHEMA æ</title>
+<prolog><metadata>
+<keywords><indexterm>SET SCHEMA statement</indexterm><indexterm>Schemas<indexterm>changing
+default for session</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>SET SCHEMA æã«ãããæ¥ç¶ã®æ¢å®ã¹ãã¼ããæå®ããã¹ãã¼ãã«è¨å®ã§ãã¾ãã
+æ¥ç¶ããçºè¡ãããæã«ã¦å¯¾è±¡ã®ã¹ãã¼ãåãæç¤ºçã«æå®ããªãã£ãå ´åãæ¢å®ã¹ãã¼ãã対象ã®ã¹ãã¼ãã¨ãªãã¾ãã</p>
+<p>SET SCHEMAæãæåè£ã«å®è¡ããããã«ã¯ãè¨å®ããã¹ãã¼ããåå¨ãã¦ããªããã°ãªãã¾ããã
+ã¹ãã¼ããåå¨ãã¦ããªããã°ãã¨ã©ã¼ã¨ãªãã¾ãã<xref
+href="rrefsqlj31580.dita#rrefsqlj31580"></xref>ãåç
§ãã¦ãã ããã</p>
+<p>SET SCHEMA æã¯ãã©ã³ã¶ã¯ã·ã§ã³å¦çããã¾ãããããããSET SCHEMA æãå®è¡ãããã¨ããã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ããã¦ããSET SCHEMA æã«ãã夿´ãããã¹ãã¼ãã®ã¾ã¾ã§ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>SET [CURRENT] SCHEMA [=]
+{ <i><xref href="rrefschemaname.dita#rrefschemaname">ã¹ãã¼ãå</xref> </i>|
+USER | ? | '<æåå宿°>' } | SET CURRENT SQLID [=]
+{
+<i><xref href="rrefschemaname.dita#rrefschemaname">ã¹ãã¼ãå</xref> </i>| USER | ? | '<æåå宿°>' }</b></codeblock>
+<p><i><xref href="rrefschemaname.dita#rrefschemaname">ã¹ãã¼ãå</xref></i>ã¯æå¤§ã§128æåãããªãèå¥åã§ããã¹ãã¼ãåã¯äºéå¼ç¨ç¬¦ã§å²ã¾ããªãéãã大æåå°æåãåºå¥ãã¾ããã(ä¾ãæããã¨ãSYSã¯sYsãSYsãsysã®ãããã¨ãç価ã§ãã)</p>
+<p>USERã¯ç¾å¨ã®ã¦ã¼ã¶ã§ããç¾å¨ã®ã¦ã¼ã¶ãå®ç¾©ããã¦ããªãå ´åãç¾å¨ã®ã¹ãã¼ãã¯æ¢å®ã§<i>APP</i>ã§ãã(æ¥ç¶ã«ã¦ã¼ã¶åãå®ç¾©ããã¦ããå ´åããã®ã¦ã¼ã¶åã«å¯¾å¿ããã¹ãã¼ãããããªãããããæ¥ç¶ã®æ¢å®ã®ã¹ãã¼ãã¨ãªãã¾ãã</p>
+<p>? ã¯æºåãããæã§å©ç¨ã§ããåçãªå¼æ°ã§ããSET SCHEMAæãæºåãã¦ãç°ãªãã¹ãã¼ããå¤ã«ã¨ã£ã¦å®è¡ãããã¨ãã§ãã¾ãããã®ã¨ãã¹ãã¼ãã®å¤ã¯æåå宿°ã¨æ±ããã大æåå°æåãåºå¥ããã¾ããä¾ãã°ã<i>APP</i>ãæå®ããã«ã¯ã"app"ã§ã¯ãªã"APP"ã使ãã¾ãã</p> </refsyn>
+<example> <codeblock><b><ph>-- 以ä¸ã®ä¾ã¯å
¨ã¦ç価ã§ã
+-- HOTELã¨ããã¹ãã¼ããããã°åä½ãã¾ãã</ph>
+SET SCHEMA HOTEL
+SET SCHEMA hotel
+SET CURRENT SCHEMA hotel
+SET CURRENT SQLID hotel
+SET SCHEMA = hotel
+SET CURRENT SCHEMA = hotel
+SET CURRENT SQLID = hotel
+SET SCHEMA "HOTEL" <ph>-- ã¯ã©ã¼ããããèå¥å</ph>
+SET SCHEMA 'HOTEL' <ph>-- ã¯ã©ã¼ããããæåå</ph>
+ <ph>--å°æåã®hotelã¯åå¨ããªãã®ã§ã
+ --ãã®ä¾ã¯ã¨ã©ã¼ã¨ãªãã¾ãã</ph>
+SET SCHEMA = 'hotel'
+<ph> --SQLIDã¯CURRENTã¨ã¨ãã«ä½¿ããªããã°ãªããªãã®ã§ã
+ --ãã®ä¾ã¯å¤±æãã¾ãã</ph>
+SET SQLID hotel
+<ph> -- ããã«ããã¹ãã¼ãã¯ç¾å¨ã®ã¦ã¼ã¶IDã«è¨å®ããã¾ãã</ph>
+SET CURRENT SCHEMA USER
+<ph>// Javaã®ããã°ã©ã ã§set schemaã使ãä¾ã§ãã</ph>
+PreparedStatement ps = conn.PrepareStatement("set schema ?");
+ps.setString(1,"HOTEL");
+ps.executeUpdate();
+... do some work
+ps.setString(1,"APP");
+ps.executeUpdate();
+
+ps.setString(1,"app"); <ph>//error - string is case sensitive
+// no app will be found </ph>
+ps.setNull(1, Types.VARCHAR); <ph>//error - null is not allowed</ph> </b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32268.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32613.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32613.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32613.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32613.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="rrefsqlj32613" xml:lang="en-us">
+<title>RTRIM颿°</title>
+<prolog><metadata>
+<keywords><indexterm>RTRIM function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>RTRIMã¯æåå¼ã®æ«å°¾ã«ãã空ç½ãåãé¤ãã¾ãã</p></section>
+<refsyn><title>æ§æ</title>
+<codeblock><b>RTRIM(<i>æåå¼</i>)</b></codeblock> <p>A
+æåå¼ã¯CHARãVARCHARãLONG VARCHARããã³ãæååã«æé»ã«å¤æå¯è½ãªçµè¾¼ã¿ã®ãã¼ã¿åã§ãã</p>
+<p>ãã<i>æåå¼</i>ãnullãªããRTRIMã®çµæã¯nullã§ãã</p> </refsyn>
+<example> <codeblock><b><ph>-- ' asdf'ãè¿ãã¾ãã</ph>
+VALUES RTRIM(' asdf ')
+<ph>-- 'asdf'ãè¿ãã¾ãã</ph>
+VALUES RTRIM('asdf ')</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32613.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32654.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32654.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32654.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32654.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,63 @@
+<?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="rrefsqlj32654" xml:lang="en-us">
+<title>GROUP BY ç¯</title>
+<prolog><metadata>
+<keywords><indexterm>GROUP BY clause</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section>
+<p>GROUP BY ç¯ã¯<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã®ä¸é¨ã¨ãããã¨ãã§ãã¾ãããã®ç¯ã«ããçµæãä¸å以ä¸ã®åã®éã§åãå¤ãæã¤ãçµæã®é¨åéåã«ã¾ã¨ãããã¨ãã§ãã¾ãã
+ããããã®é¨åéåã«ã¯ãåé¡åãåãå¤ãæã¤è¡ã¯ããã¾ããã
+NULLã¯é¨åéåã¸ã®ã¾ã¨ããè¡ãå ´åãåãå¤ã¨è¦ãªããã¾ãã</p>
+<p>å
¸åçã«ãã£ã¦ãGROUP BYç¯ã¯éç´å¼ã¨ä½µãã¦ä½¿ããã¾ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>GROUP BY <i><xref href="rrefcolumnname.dita#rrefcolumnname">åå</xref></i> [ , <i><xref
+href="rrefcolumnname.dita#rrefcolumnname">åå</xref></i> ] *</b></codeblock> <p><i><xref
+href="rrefcolumnname.dita#rrefcolumnname">åå</xref></i> ã¯åãåããã«ã¦å¯è¦ã§ãªããã°ãªãã¾ãããåãåããã«ã¦ä¸å¯è¦ãªåã§ãã£ã¦ã¯ãªãã¾ããã
+ä¾ãã°ãGROUP BYç¯ãå¯åãåããã«ãã£ãå ´åããã®ç¯ã¯å¯åãåããã®å¤ã«ããåãåããã®åãåç
§ãã¦ã¯ãªãã¾ããã
+</p>
+<p>GROUP BYç¯ãæã¤<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã«ãã<i>鏿é
ç®</i>ã¯éç´ãåé¡åã§ãªããã°ãªãã¾ããã</p> </refsyn>
+
+<example> <codeblock><b><ph>-- airportã§åé¡ãããflightsã®ã
+-- flying_timesã®å¹³åãæ¢ãã</ph>
+SELECT AVG (flying_time), orig_airport
+FROM Flights
+GROUP BY orig_airport
+
+SELECT MAX(city_name), region
+FROM Cities, Countries
+WHERE Cities.country_ISO_code = Countries.country_ISO_code
+GROUP BY region
+<ph>-- smallintã«ããåé¡</ph>
+SELECT ID, AVG(SALARY)
+FROM SAMP.STAFF
+GROUP BY ID
+-- AVGSALARYãEMPCOUNTåã¨ãDEPTNOåãASç¯ã«ããåå¾ããã
+-- ããã«OTHERSã¨ããç¸é¢åã§ãWORKDEPTåã«ããåé¡ãè¡ãã
+SELECT OTHERS.WORKDEPT AS DEPTNO,
+AVG(OTHERS.SALARY) AS AVGSALARY,
+COUNT(*) AS EMPCOUNT
+FROM SAMP.EMPLOYEE OTHERS
+GROUP BY OTHERS.WORKDEPT
+</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32654.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32693.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32693.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32693.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32693.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,47 @@
+<?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="rrefsqlj32693" xml:lang="ja">
+<title>AVG颿°</title>
+<prolog><metadata>
+<keywords><indexterm>AVG aggregate function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>AVGã¯è¤æ°è¡ã«ãããå¼ã®å¹³åãè©ä¾¡ããéç´é¢æ°ã§ãã(<xref href="rrefsqlj33923.dita#rrefsqlj33923"></xref>ãåç
§ãã¦ãã ããã)
+AVGã¯æ°å¤åã«è©ä¾¡ãããå¼ã«å¯¾ãã¦ã®ã¿ä½ç¨ããããã¨ãã§ãã¾ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>AVG ( [ DISTINCT | ALL ] <i>å¼</i> )</b></codeblock>
+<p><indexterm>DISTINCT<indexterm>qualifier
+in AVG function</indexterm></indexterm>DISTICTãæå®ããã¨ãéè¤ãåãé¤ããã¾ãã
+ALLãæå®ããã¨ãéè¤ãæ®ãã¾ããALLãDISTINCTãæå®ãããªãå ´åã®æ¢å®ã¯ALLã§ãã
+ä¾ãã°ãåã®å¤ã1.0ã1.0ã1.0ã1.0ã2.0ã ã£ãã¨ãã¾ãããã®å ´åãAVG(col)ã¯AVG(DISTINCT col)ããå°ããªå¤ãè¿ãã¾ãã</p>
+<p>DISTINCTãªéç´å¼ã¯ã<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã«ä¸ã¤ã ãç½®ããã¨ãã§ãã¾ãã
+ä¾ãã°ã次ã®ååãã¯ç¡å¹ã§ãã<codeblock><b>SELECT AVG (DISTINCT flying_time), SUM (DISTINCT miles)
+FROM Flights</b></codeblock></p>
+<p>å¼ã«ã¯è¤æ°åã¸ã®åç
§ãå¼ããã£ã¦ãã¾ãã¾ããããä»ã®éç´ãå¯ååãããã£ã¦ã¯ãªãã¾ããã
+ã¾ãè©ä¾¡çµæã¯SQL-92ã®æ°å¤åã§ãªããã°ãªãã¾ããããããã£ã¦SQL-92ã®åã«è©ä¾¡ããã颿°ãªãå¼ã¶ãã¨ãã§ãã¾ããããè©ä¾¡çµæãNULLã§ãã£ãå ´åãéç´ã«ã¦ãã®å¤ã¯çããã¾ãã</p>
+<p>çµæã®ãã¼ã¿åã¯æä½ãããå¼ã¨åããã¼ã¿åã§ãã(ãªã¼ãã¼ããã¼ã¯ããã¾ãã)
+ä¾ãã°æ¬¡ã®ååãã¯äºæ³ã«åãã¦æ´æ°ã®<i>1</i>ãè¿ãã¾ãã
+<codeblock><b>SELECT AVG(c1)
+FROM (VALUES (1), (1), (1), (1), (2)) AS myTable (c1)</b></codeblock></p>
+<p>ãã精度ãå¿
è¦ã§ããã°ãå¼ããã£ã¹ããã¾ãã<codeblock><b>SELECT AVG(CAST (c1 AS DOUBLE PRECISION))
+FROM (VALUES (1), (1), (1), (1), (2)) AS myTable (c1)</b></codeblock></p> </refsyn>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32693.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32714.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32714.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32714.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32714.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,40 @@
+<?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="rrefsqlj32714" xml:lang="ja">
+<title>VARCHAR FOR BIT DATA ãã¼ã¿å</title>
+<prolog><metadata>
+<keywords><indexterm>VARCHAR FOR BIT DATA type</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>VARCHAR FOR BIT DATAã§ã¯æå®ãããé·ã以ä¸ã®ãã¤ããªåãè¨é²ãããã¨ãã§ãã¾ããããã¯ç»åã®ãããªæååã¨ãããã¨ãé©å½ã§ã¯ãªããæ§é ã®ãªãæ
å ±ãè¨é²ããã®ã«ä¾¿å©ã§ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>{ VARCHAR | CHAR VARYING | CHARACTER VARYING } (<i>é·ã</i>) FOR BIT DATA </b></codeblock>
+<p><i>é·ã</i>ã¯ç¬¦å·ã®ãªãæ´æ°ã®ãªãã©ã«ã§ãé·ãããã¤ãæ°ã§æå®ãã¾ãã</p>
+<p>CHAR FOR BIT DATAã¨ã¯ç°ãªããVARCHAR FOR BIT DATAã«ã¯ãæ¢å®ã®<i>é·ã</i>ã¯åå¨ãã¾ããã<i>é·ã</i>ã¯æå¤§ã§32,672ãã¤ãã«ããäºãã§ãã¾ãã</p> </refsyn>
+<section><title>JDBCã¡ã¿ãã¼ã¿å (java.sql.Types)</title>
+<p>VARBINARY</p>
+<p><indexterm>Byte
+strings<indexterm>variable-length</indexterm></indexterm>
+VARCHAR FOR BIT DATAã§ã¯å¯å¤é·ã®ãã¤ãåãè¨é²ããã¾ããCHAR FOR BIT DATAã¨ã¯ç°ãªããVARCHAR FOR BIT DATAã§ã¯é·ããããããããã®å¤è©°ãã¯ããã¾ããã</p>
+<p>å¤ã®é£çµãªã©ãVARCHAR FOR BIT DATAã¨CHAR FOR BIT DATAã®å¤ã«è¡ãã¨ãå¾ãããçµæã®å¤ã¯VARCHAR FOR BIT DATAã¨ãªãã¾ãã</p> </section>
+<example> <p>ãã¤ãã®ãªãã©ã«å¤ã¯å¸¸ã«VARCHAR FOR BIT DATAã§ããCHAR FOR BIT DATAã§ã¯ããã¾ããã</p> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj32714.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33215.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33215.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33215.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33215.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="rrefsqlj33215" xml:lang="ja">
+<title>表ã¾ãã¯ãã¥ã¼ãããã¯é¢æ°å¼</title>
+<refbody>
+<example> <codeblock><b>{<i> <xref href="rreftablename.dita#rreftablename">表å</xref></i> | <i> <xref
+href="rrefviewname.dita#rrefviewname">ãã¥ã¼å</xref></i> | <i><xref href="rrefsqljtfinvoke.dita#rrefsqljtfinvoke">è¡¨é¢æ°å¼ã³åºã</xref></i>}
+ [ [ AS ] <i><xref href="rrefcorrelationname.dita#rrefcorrelationname">ç¸é¢å</xref></i>
+ [ (<i><xref href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i> [ , <i><xref
+href="rrefsimplecolumnname.dita#rrefsimplecolumnname">åç´åå</xref></i>]* ) ] ] ]
+</b></codeblock></example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33215.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33520.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33520.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33520.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33520.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,49 @@
+<?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="rrefsqlj33520" xml:lang="ja">
+<title>MIN颿°</title>
+<prolog><metadata>
+<keywords><indexterm>MIN aggregate function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>MINã¯éç´é¢æ°ã§ãå
¨è¡ã«æ¸¡ãå¼ã®æå°å¤ãæ±ãã¾ãã
+(<xref href="rrefsqlj33923.dita#rrefsqlj33923"></xref>ãåç
§ãã¦ãã ããã)
+MINã¯çµã¿è¾¼ã¿ã®ãã¼ã¿åã«å¯¾ãã¦ã®ã¿é©ç¨å¯è½ã§ãã(ããã«ã¯CHARãVARCHARãDATEãTIMEçãå«ã¾ãã¾ãã)</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>MIN ( [ DISTINCT | ALL ] <i>å¼</i> )</b></codeblock>
+<p>
+DISTINCTã¨ALLã¨ããéå®è©ã«ã¯ãéè¤ãåãé¤ããããéè¤ãæ®ãåããããã¾ããããããããã®éå®è©ã¯MINå¼ã§ã¯å¹æãããã¾ããã
+<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã«ã¯éå®è©ã¯å¯ä¸ã¤ããæ¸ããã¨ãã§ãã¾ããã
+ä¾ãã°æ¬¡ã®ååãã¯è¨±ããã¾ããã<codeblock><b>SELECT COUNT (DISTINCT flying_time), MIN (DISTINCT miles)
+FROM Flights</b></codeblock></p>
+<p>ãã®<i>å¼</i>ã«ã¯è¤æ°ã®åã¸ã®åç
§ãå¼ãæ¸ããã¨ãã§ãã¾ããããããå¯ååããä»ã®éç´ãæ¸ããã¨ã¯ã§ãã¾ããã
+å¼ã¯çµè¾¼ã¿ã®ãã¼ã¿åã¨ãã¦è©ä¾¡ãããªããã°ãªãããå¾ã£ã¦ã¡ã½ãããå¼ã¶ãªãçµè¾¼ã¿ã®ãã¼ã¿åã«è©ä¾¡ãããªããã°ãªãã¾ããã(ä¾ãã°ã<i>java.lang.Integer</i>ã<i>int</i>ãè¿ãã¡ã½ããã§ãããªããINTEGERã¨è©ä¾¡ããã¾ãã)ããå¼ãNULLã¨è©ä¾¡ãããã®ã§ããã°ããã®å¤ã¯éç´ã«ã¦ç¡è¦ããã¾ãã</p>
+<p>åã«ããæå°å¤ã決ããè¦åã¯ç°ãªãã¾ããCHARãVARCHARã§ã¯ãMINã®è©ä¾¡çµæã¯å¤ã®æ«å°¾ã«ããç©ºç½æåæ°ã«å½±é¿ããã¾ãã
+ä¾ãã°'z'ã¨'z 'ãåã«è¨é²ããã¦ããã¨ãã¦ãã©ã¡ãã®å¤ãæå°å¤ã¨ãã¦è¿ãããããæ±ºããæ¹æ³ã¯ããã¾ããããªããªãã°æååã®æ¯è¼ã«ã¦ç©ºç½æåã¯ç¡è¦ãããããã§ãã</p>
+<p>çµæã®ãã¼ã¿åã¯å¦çããå¼ã®ãã¼ã¿åã¨åãã§ãã(ãªã¼ãã¼ããã¼ãããã¨ã¯ããã¾ããã)</p> </refsyn>
+<example> <codeblock><b><ph>-- æå¹ã§ã¯ããã¾ããã</ph>
+SELECT DISTINCT flying_time, MIN(DISTINCT miles) from Flights
+<ph>-- æå¹ã§ãã</ph>
+SELECT COUNT(DISTINCT flying_time), MIN(DISTINCT miles) from Flights
+<ph>-- æãè¥ãæ¥ä»ãæ¢ãã¾ãã</ph>
+SELECT MIN (flight_date) FROM FlightAvailability;</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33520.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33562.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33562.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33562.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33562.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,694 @@
+<?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="rrefsqlj33562" xml:lang="ja">
+<title>CAST 颿°</title>
+<shortdesc>CAST颿°ã«ããå¤ã®åãä»ã®åã«å¤æãã¾ããã¾ãåçãªå¼æ°(?)ãNULLå¤ã«åãä¸ãã¾ãã</shortdesc>
+<prolog><metadata>
+<keywords><indexterm>CAST function</indexterm><indexterm>conversions<indexterm>SQL-92
+data types using CAST</indexterm></indexterm><indexterm>conversions<indexterm>CAST
+function (explicit)</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>CASTã®å¼ã¯å¼ãç½®ããã¨ãã§ããå ´æãªãã©ãã«ã§ãç½®ããã¨ãã§ãã¾ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>CAST ( [ <i>å¼</i> | NULL | ? ]
+ AS <i>ãã¼ã¿å</i>)</b></codeblock>
+<p>å¼ããã£ã¹ãããå
ã®ãã¼ã¿åã®ãã¨ã<i>ç®æ¨å</i>ã¨ããã¾ãããã£ã¹ããããã¨ãã¦ããå¼ã®ãã¼ã¿åã®ãã¨ã<i>æºæ³å</i>ã¨ããã¾ãã</p> </refsyn>
+<section><title>CASTã«ããSQL-92 ãã¼ã¿åéã®å¤æ</title>
+<p>以ä¸ã«ç¤ºã表ã¯SQLãã¼ã¿åã«ã¦æç¤ºçãªå¤æãæå¹ãªãæºæ³åã¨ç®æ¨åã示ãã¾ãã
+ãã®è¡¨ã¯ä½ãã®ãã¼ã¿åã®éã§æç¤ºçãªå¤æãæå¹ãªã®ãã示ãã¾ãã
+è¡¨ã®æåã®åã¯æºæ³åã示ãã¾ããè¡¨ã®æåã®è¡ã¯ç®æ¨åã示ãã¾ãã
+Yã¯æºæ³åããç®æ¨åã¸ã®åã®å¤æãæå¹ã§ãããã¨ã示ãã¾ãã
+ä¾ãã°ãäºè¡ç®ã®æåã®ã³ãã«ããæºæ³åã¯SMALLINTã¨è¨è¿°ããã¾ãã
+äºè¡ç®ã®ã»ãã®ã³ãã¯ãè¡¨ã®æåã®è¡ã«æ¸ããã¦ããåãç®æ¨åã¨ãã¦ãSMALLINTã®åã夿ã§ãããå¦ããè¨è¿°ãã¾ãã<table><title>SQL-92 ãã¼ã¿åéã«ã¦æç¤ºçãªå¤æãæå¹ãªãæºæ³åã¨ç®æ¨å</title>
+<tgroup cols="20"><colspec colname="colspec0" colwidth="330*"/><colspec colname="col2"
+colwidth="84*"/><colspec colname="col3" colwidth="84*"/><colspec colname="col4"
+colwidth="84*"/><colspec colname="col5" colwidth="84*"/><colspec colname="col6"
+colwidth="81*"/><colspec colname="colspec1" colwidth="84*"/><colspec colname="colspec9"
+colwidth="84*"/><colspec colname="colspec8" colwidth="84*"/><colspec colname="colspec7"
+colwidth="84*"/><colspec colname="colspec6" colwidth="81*"/><colspec colname="colspec5"
+colwidth="84*"/><colspec colname="colspec4" colwidth="87*"/><colspec colname="colspec3"
+colwidth="81*"/><colspec colname="colspec2" colwidth="84*"/><colspec colname="colspec10"
+colwidth="84*"/><colspec colname="colspec13" colwidth="84*"/><colspec colname="colspec12"
+colwidth="84*"/><colspec colname="colspec11" colwidth="84*"/><colspec colname="COLSPEC14"
+colwidth="84*"/>
+<thead>
+<row>
+<entry colname="colspec0" valign="top">Types</entry>
+<entry colname="col2" valign="top"> <lines>S
+M
+A
+L
+L
+I
+N
+T</lines></entry>
+<entry colname="col3" valign="top"> <lines>I
+N
+T
+E
+G
+E
+R</lines></entry>
+<entry colname="col4" valign="top"> <lines>B
+I
+G
+I
+N
+T</lines></entry>
+<entry colname="col5" valign="top"> <lines>D
+E
+C
+I
+M
+A
+L</lines></entry>
+<entry colname="col6" valign="top"> <lines>R
+E
+A
+L</lines></entry>
+<entry colname="colspec1" valign="top"> <lines>D
+O
+U
+B
+L
+E</lines></entry>
+<entry colname="colspec9" valign="top"> <lines>F
+L
+O
+A
+T</lines></entry>
+<entry colname="colspec8" valign="top"> <lines>C
+H
+A
+R</lines></entry>
+<entry colname="colspec7" valign="top"> <lines>V
+A
+R
+C
+H
+A
+R</lines></entry>
+<entry colname="colspec6" valign="top"> <lines>L
+O
+N
+G
+
+V
+A
+R
+C
+H
+A
+R</lines></entry>
+<entry colname="colspec5" valign="top"> <lines>C
+H
+A
+R
+
+F
+O
+R
+
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec4" valign="top"> <lines>V
+A
+R
+C
+H
+A
+R
+
+F
+O
+R
+
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec3" valign="top"> <lines>L
+O
+N
+G
+
+V
+A
+R
+C
+H
+A
+R
+
+F
+O
+R
+
+B
+I
+T
+
+D
+A
+T
+A</lines></entry>
+<entry colname="colspec2" valign="top"> <lines>C
+L
+O
+B</lines></entry>
+<entry colname="colspec10" valign="top"> <lines>B
+L
+O
+B</lines></entry>
+<entry colname="colspec13" valign="top"> <lines>D
+A
+T
+E</lines></entry>
+<entry colname="colspec12" valign="top"> <lines>T
+I
+M
+E</lines></entry>
+<entry colname="colspec11" valign="top"> <lines>T
+I
+M
+E
+S
+T
+A
+M
+P</lines></entry>
+<entry colname="COLSPEC14" valign="top"> <lines>X
+M
+L</lines></entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="colspec0">SMALLINT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">INTEGER</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">BIGINT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DECIMAL</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">REAL</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DOUBLE</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">FLOAT</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">Y</entry>
+<entry colname="colspec1">Y</entry>
+<entry colname="colspec9">Y</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CHAR</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">Y</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">VARCHAR</entry>
+<entry colname="col2">Y</entry>
+<entry colname="col3">Y</entry>
+<entry colname="col4">Y</entry>
+<entry colname="col5">Y</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">Y</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">LONG VARCHAR</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">Y</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">Y</entry>
+<entry colname="colspec4">Y</entry>
+<entry colname="colspec3">Y</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">Y</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">VARCHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">Y</entry>
+<entry colname="colspec4">Y</entry>
+<entry colname="colspec3">Y</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">Y</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">LONG VARCHAR FOR BIT DATA</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">Y</entry>
+<entry colname="colspec4">Y</entry>
+<entry colname="colspec3">Y</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">Y</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">CLOB</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">Y</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">Y</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">BLOB</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">Y</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">DATE</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">TIME</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">TIMESTAMP</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">Y</entry>
+<entry colname="colspec7">Y</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">Y</entry>
+<entry colname="colspec12">Y</entry>
+<entry colname="colspec11">Y</entry>
+<entry colname="COLSPEC14">-</entry>
+</row>
+<row>
+<entry colname="colspec0">XML</entry>
+<entry colname="col2">-</entry>
+<entry colname="col3">-</entry>
+<entry colname="col4">-</entry>
+<entry colname="col5">-</entry>
+<entry colname="col6">-</entry>
+<entry colname="colspec1">-</entry>
+<entry colname="colspec9">-</entry>
+<entry colname="colspec8">-</entry>
+<entry colname="colspec7">-</entry>
+<entry colname="colspec6">-</entry>
+<entry colname="colspec5">-</entry>
+<entry colname="colspec4">-</entry>
+<entry colname="colspec3">-</entry>
+<entry colname="colspec2">-</entry>
+<entry colname="colspec10">-</entry>
+<entry colname="colspec13">-</entry>
+<entry colname="colspec12">-</entry>
+<entry colname="colspec11">-</entry>
+<entry colname="COLSPEC14">Y</entry>
+</row>
+</tbody>
+</tgroup>
+</table></p><p>夿ãæå¹ãªããCASTã¯å¯è½ã§ããæºæ³åã¨ç®æ¨åã®éã®å¤§ããã®éäºææ§ã¯ãå®è¡æã«ã¨ã©ã¼ãèµ·ãããã¨ãããã¾ãã</p> </section>
+<section><title>ä½ãæ¸ã</title>
+<p>ãã®è°è«ã§ã¯ã<ph conref="../conrefs.dita#prod/productshortname"></ph>ã«ã¦SQL-92ãã¼ã¿åã¯ã以ä¸ã®ããã«åé¡ããã¾ãã<ul>
+<li><i>æ°</i> <ul>
+<li>æ£ç¢ºãªæ° (<xref href="rrefsqlj16221.dita#rrefsqlj16221">SMALLINT</xref>,
+<xref href="rrefsqlj10696.dita#rrefsqlj10696">INTEGER</xref>,
+<xref href="rrefsqlj30435.dita#rrefsqlj30435">BIGINT</xref>,
+<xref href="rrefsqlj15260.dita#rrefsqlj15260">DECIMAL</xref>,
+<xref href="rrefsqlj12362.dita#rrefsqlj12362">NUMERIC</xref>)</li>
+<li>è¿ä¼¼ã®æ° (<xref href="rrefsqlj27281.dita#rrefsqlj27281">FLOAT</xref>,
+<xref href="rrefsqlj14122.dita#rrefsqlj14122">REAL</xref>,
+<xref href="rrefsqljdoubleprecision.dita#rrefsqljdoubleprecision">DOUBLE PRECISION</xref>)</li>
+</ul></li>
+<li><i>å</i> <ul>
+<li>æåå (<xref href="rrefclob.dita#rrefclob">CLOB</xref>,
+<xref href="rrefsqlj13733.dita#rrefsqlj13733">CHAR</xref>,
+<xref href="rrefsqlj41207.dita#rrefsqlj41207">VARCHAR</xref>,
+<xref href="rrefsqlj15147.dita#rrefsqlj15147">LONG VARCHAR</xref>)</li>
+<li>ãããå (<xref href="rrefblob.dita#rrefblob">BLOB</xref>,
+<xref href="rrefsqlj57924.dita#rrefsqlj57924">CHAR FOR BIT DATA</xref>,
+<xref href="rrefsqlj32714.dita#rrefsqlj32714">VARCHAR FOR BIT DATA</xref>,
+<xref href="rrefsqlj30118.dita#rrefsqlj30118">LONG VARCHAR FOR BIT DATA</xref>)</li>
+</ul></li>
+<li><i>æ¥æ</i> <ul>
+<li><xref href="rrefsqlj18730.dita#rrefsqlj18730">DATE</xref></li>
+<li><xref href="rrefsqlj21908.dita#rrefsqlj21908">TIME</xref></li>
+<li><xref href="rrefsqlj27620.dita#rrefsqlj27620">TIMESTAMP</xref></li>
+</ul></li>
+</ul></p> </section>
+<section><title>æ°å¤åããã®å夿</title>
+<p>æ°å¤åã¯ä»ã®ãããªãæ°å¤åã«ã夿ã§ãã¾ããããæ°ã®å°æ°é¨ã§ã¯ãªãé¨åãåãæ¨ã¦ãªããã°ã夿ããç®æ¨åã§æ±ããªããªãã°ä¾å¤ãçºçãã¾ããããæºæ³åã®å°æ°é¨ãç®æ¨åã§æ±ããªããªãã°ãç®æ¨åã«ã¦æ±ããããæé»è£¡ã«æºæ³åã®å¤ã¯åãæ¨ã¦ããã¾ãããã¨ãã°ã763.1234ãINTEGERã«å¤æããã¨763ã¨ãªãã¾ãã</p> </section>
+<section><title>ãããåã®åã¸ã®/ããã®å夿</title>
+<p>ãããåã®åã¯ä»ã®ãããåã®åã«å¤æã§ãã¾ãããæååã«å¤æãããã¨ã¯ã§ãã¾ããã
+æååã®åããããåã®åã«å¤æããã¨ãç®æ¨ã®ãããåã®é·ãã«ä¼ãããã«ãæ«å°¾ã0ã§è©°ãããã¾ããBLOBåã¯ããéå®ããã¦ãããæç¤ºçãªå¤æãå¿
è¦ã¨ãã¾ãã ã»ã¨ãã©ã®å ´åãBLOBåããã¯/ã¸ã¯å夿ã§ãã¾ããã</p> </section>
+<section id="sqlj75614"><title>æ¥/æã®å夿</title>
+<p>æ¥/æã®å¤ã¯ãããªãå ´åã§ãTIMESTAMPã¸/ããå夿ã§ãã¾ãã
+DATEãTIMESTAMPã«å夿ãããå ´åãçµæã®TIMESTAMPã«ã¦TIMEã®é¨åã¯å¸¸ã«00:00:00ã§ãã
+ããTIMEãTIMESTAMPã«å夿ãããå ´åãçµæã®TIMESTAMPã«ã¦DATEã®é¨åã¯ãCASTãå®è¡ãããã¨ãã®CURRENT_DATEã®å¤ã¨ãªãã¾ãã
+TIMESTAMPãDATEã«å夿ãããå ´åãTIMEã®é¨åã¯æé»è£¡ã«åãæ¨ã¦ããã¾ãã
+TIMESTAMPãTIMEã«å夿ãããå ´åãDATEã®é¨åã¯æé»è£¡ã«åãæ¨ã¦ããã¾ãã
+</p> </section>
+<example> <codeblock><b>SELECT CAST (miles AS INT)
+FROM Flights
+-- timestampãæååã«å¤æãã
+INSERT INTO mytable (text_column)
+VALUES (CAST (CURRENT_TIMESTAMP AS VARCHAR(100)))
+-- NULLãé©åãªãã¼ã¿åã«å¤æããªããã°ãªããªãã
+SELECT airline
+FROM Airlines
+UNION ALL
+VALUES (CAST (NULL AS CHAR(2)))
+-- doubleãdecimalã«å¤æããã
+SELECT CAST (FLYING_TIME AS DECIMAL(5,2))
+FROM FLIGHTS
+-- SMALLINTãBIGINTã«å¤æãã
+VALUES CAST (CAST (12 as SMALLINT) as BIGINT)</b></codeblock> </example>
+<section><title>XMLå¤ã®å¤æ</title>
+<p>æç¤ºçã«ãæé»çã«ããXMLã®å¤ã¯XML以å¤ã®å¦ä½ãªãåã¸ãå夿ã§ãã¾ãããXMLåãæåååã«ããå ´åã¯ã<xref
+href="rreffuncxmlserialize.dita#rreffuncxmlserialize"></xref>ã使ã£ã¦ãã ããã</p> </section>
+</refbody>
+</reference>
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33562.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33602.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33602.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33602.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33602.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,67 @@
+<?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="rrefsqlj33602" xml:lang="ja">
+<title>WHERE ç¯</title>
+<prolog><metadata>
+<keywords><indexterm>WHERE clause</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>WHEREç¯ã¯å¿
è¦ã«å¿ãã¦ã<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã<xref
+href="rrefsqlj35981.dita#rrefsqlj35981">DELETE æ</xref>ã<xref href="rrefsqlj26498.dita#rrefsqlj26498">UPDATE æ</xref>ã«ç½®ããã¨ãã§ãã¾ãã
+WHEREç¯ã®çå½å¼ã«åºã¥ãã¦è¡ã鏿ãããã¨ãã§ãã¾ãã
+å¼ãçã¨è©ä¾¡ãããè¡ã ãããçµæã«ã¦è¿ããã¾ãã
+ãããDELETEæã§ããã°åé¤ãããUPDATEæã§ããã°æ´æ°ããã¾ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>WHERE <i><xref href="rrefsqlj23075.dita#rrefsqlj23075">çå½å¼</xref></i></b></codeblock> <p><indexterm>WHERE
+clause<indexterm>SQL extensions to</indexterm></indexterm>
+WHEREç¯ã«ã¯çå½å¼ãç½®ããã¨ãã§ãã¾ãã<xref
+href="rrefsqlj19433.dita#rrefsqlj19433/sqlj18370"></xref>ã«ä¸è¦§ãããä¸è¬å¼ã®ã»ã¨ãã©ã¯ãçå½å¤ã«ãªããã¨ãã§ãã¾ãã</p>
+<p>ããã«ãããä¸è¬çãªçå½å¼ãããã¾ãã表10ã«ä¸è¦§ãããç彿¼ç®åã¯ãä¸ã¤ãããã¯ãã以ä¸ã®ãªãã©ã³ããã¨ãããã®å¼ã¯çå½å¤ãè¿ãã¾ãã</p> </refsyn>
+<example><title>ä¾</title><codeblock><b>
+<ph>-- ãã¸ãã¹ã¯ã©ã¹ã®å¸ãäºç´ããã¦ããªã
+-- 便ãè¦ã¤ããã</ph>
+SELECT *
+FROM FlightAvailability
+WHERE business_seats_taken IS NULL
+OR business_seats_taken = 0
+<ph>-- EMP_ACTã¨EMPLOYEEã¨ãã表ãçµåãã¦ã
+-- EMP_ACTã®å
¨åã«ãEMPLOYEEãã徿¥å¡ã®èå(LASTNAME)ãå ãã¦
+-- çµæè¡ã¨ãã¦è¿ãã</ph>
+SELECT SAMP.EMP_ACT.*, LASTNAME
+ FROM SAMP.EMP_ACT, SAMP.EMPLOYEE
+ WHERE EMP_ACT.EMPNO = EMPLOYEE.EMPNO
+<ph>-- 販売代ç人ã®ç¤¾å¡çªå·ã¨çµ¦æããå½¼ãã®é¨ç½²ã®å¹³åè³éã¨å¡æ°ã¨å
±ã«ã
+--è¿ãã
+-- ãã®ååãã§ã¯ãã¾ãååãã®ä¸é¨(DINFO)ã«ã¦ãASç¯ã§æ°ããååãä¸ãã¦ã
+-- AVGSALARYã¨EMPCOUNTåããã³WHEREç¯ã§ä½¿ããã¦ããDEPTNOã
+-- åå¾ã§ããããã«ããå¿
è¦ãããã</ph>
+SELECT THIS_EMP.EMPNO, THIS_EMP.SALARY, DINFO.AVGSALARY, DINFO.EMPCOUNT
+ FROM EMPLOYEE THIS_EMP,
+ (SELECT OTHERS.WORKDEPT AS DEPTNO,
+ AVG(OTHERS.SALARY) AS AVGSALARY,
+ COUNT(*) AS EMPCOUNT
+ FROM EMPLOYEE OTHERS
+ GROUP BY OTHERS.WORKDEPT
+ )AS DINFO
+ WHERE THIS_EMP.JOB = 'SALESREP'
+ AND THIS_EMP.WORKDEPT = DINFO.DEPTNO</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33602.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33772.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33772.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33772.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33772.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="rrefsqlj33772" xml:lang="ja">
+<title>CURRENT_TIME颿°</title>
+<prolog><metadata>
+<keywords><indexterm>CURRENT_TIME function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>CURRENT_TIMEã¯ç¾å¨ã®æå»ãè¿ãã¾ããä¸ã¤ã®æã®å
ã§ããã°ã颿°ã¯ä½åº¦å¼ã°ãã¦ãåãå¤ãè¿ãã¾ããã§ããããã«ã¼ã½ã«ã§è¡ãæ¾ãéã«çµéããæéã«ãããããããã®é¢æ°ã¯ä¸ã¤ã«æ±ºã¾ã£ãå¤ãè¿ãã¾ãã</p></section>
+<refsyn><title>åå¸</title> <codeblock><b>CURRENT_TIME</b></codeblock> <p>ãããã¯</p> <codeblock><b>CURRENT TIME</b></codeblock> </refsyn>
+<example> <codeblock><b>VALUES CURRENT_TIME
+<ph>-- ã¾ãã¯ã</ph>
+
+VALUES CURRENT TIME</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33772.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33923.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33923.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33923.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33923.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,99 @@
+<?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="rrefsqlj33923" xml:lang="ja">
+<title>éç´ (éå颿°)</title>
+<refbody>
+<section>
+<p>ãã®ç¯ã¯éç´(ANSI SQL-92ã§ã¯<i>éå颿°</i>ããã¼ã¿ãã¼ã¹ã®æ¸ç±ã«ãã£ã¦ã¯<i>å颿°</i>ã¨å¼ã³ã¾ãã)ã«ã¤ãã¦èª¬æãã¾ããéç´ã¯ãè¡ã®éåã«å¯¾ãã¦å¼ãè©ä¾¡ããæ¹æ³ãæä¾ãã¾ããä»ã®çµè¾¼ã¿é¢æ°ã¯åå¼ã«å¯¾ãã¦ä½ç¨ãã¾ãããéç´ã¯å¤ã®éåã«å¯¾ãã¦ä½ç¨ãã¦ä¸ã¤ã®ã¹ã«ã©ã¼å¤ã«ã¾ã¨ãããã¾ããçµè¾¼ã¿ã®éç´ã«ãããå¤ã®éåã«å¯¾ãã¦ãå¼ã®æå°å¤ãæå¤§å¤ãåè¨ãè¨æ�
�ãè¡ããä¾ãã°è¡ãæ°ãããããªäºãã§ãã¾ããã¾ãçµè¾¼ã¿ã®ãã®ã¨ã¯å¥ã«éç´ãä½ã£ã¦ãä¾ãã°æ¨æºåå·®ãè¨ç®ãããããªãã¨ãã§ãã¾ãã</p></section>
+<section><p><indexterm>Aggregates<indexterm>and data types</indexterm></indexterm>
+çµè¾¼ã¿ã®éç´ã¯ã<xref href="rrefsqlj33923.dita#rrefsqlj33923/sqlj92398"></xref>ã«ãããã¼ã¿åã«ä½ç¨ããããã¨ãã§ãã¾ãã
+ <table frame="all" id="sqlj92398"><title>çµè¾¼ã¿ã®éç´ã«ã¦å¯è½ãªãã¼ã¿å</title>
+<tgroup cols="3" colsep="1" rowsep="1"><colspec colname="1" colnum="1" colwidth="20*"/>
+<colspec colname="2" colnum="2" colwidth="20*"/><colspec colname="3" colnum="3"
+colwidth="20*"/>
+<thead>
+<row>
+<entry colname="1"></entry>
+<entry align="left" colname="2" valign="bottom">å
¨ãã¼ã¿å</entry>
+<entry align="left" colname="3" valign="bottom">çµè¾¼ã¿ã®æ°å¤å</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1">COUNT</entry>
+<entry colname="2">X</entry>
+<entry colname="3">X</entry>
+</row>
+<row>
+<entry colname="1">MIN</entry>
+<entry colname="2"></entry>
+<entry colname="3">X</entry>
+</row>
+<row>
+<entry colname="1">MAX</entry>
+<entry colname="2"></entry>
+<entry colname="3">X</entry>
+</row>
+<row>
+<entry colname="1">AVG</entry>
+<entry colname="2"></entry>
+<entry colname="3">X</entry>
+</row>
+<row>
+<entry colname="1">SUM</entry>
+<entry colname="2"></entry>
+<entry colname="3">X</entry>
+</row>
+</tbody>
+</tgroup>
+</table></p></section>
+<section><p><indexterm>Aggregates<indexterm>requirements for</indexterm></indexterm>
+éç´ã¯ä»¥ä¸ã®æèã«ã®ã¿ç½®ããã¨ãã§ãã¾ãã<ul>
+<li><i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã®<i>鏿é
ç®</i></li>
+<li><xref href="rrefsqlj14854.dita#rrefsqlj14854">HAVINGç¯</xref></li>
+<li>éç´ããã®ååãã«ãããªãã°ã<xref href="rrefsqlj13658.dita#rrefsqlj13658">ORDER BY ç¯</xref>(å¥åã使ã)ã¤ã¾ãã<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã®<i>鏿é
ç®</i>ã«éç´ãããå ´åã«éããéç´ã¸ã®å¥åã<xref href="rrefsqlj13658.dita#rrefsqlj13658">ORDER BY ç¯</xref>ã«ç½®ããã¨ãã§ãã¾ãã</li>
+</ul></p></section>
+<section><p><i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã®<i>鏿é
ç®</i>ã«ããå
¨å¼ã¯ãéç´ãåé¡åã§ããå¿
è¦ãããã¾ãã(<xref href="rrefsqlj32654.dita#rrefsqlj32654"></xref>ãåç
§ãã¦ãã ããã)
+(GROUP BY ç¯ããªãã«ãããããããHAVINGç¯ãããå ´åãåæ§ã§ãã)
+ãªããªãã°ã<i><xref href="rrefselectexpression.dita#rrefselectexpression">鏿å¼</xref></i>ã®<i>ResultSet</i>ã¯ãã¹ã«ã©ã¼(åå¤)ããã¯ãã«(å¯å¤)ã®ããããã§ãªããã°ãªããããã®æ··åã¯è¨±ããã¦ããªãããã§ãã(éç´ã¯ã¹ã«ã©ã¼ã®å¤ã¨è©ä¾¡ãããåã¸ã®åç
§ã¯ãã¯ãã«ã®å¤ã¨è©ä¾¡ããã¾ãã)ä¾ãã°æ¬¡ã®ååãã¯ã¹ã«ã©ã¼ã¨ãã¯ãã«ã®å¤ãæ··ãã£ã¦ããã®ã§ç¡å¹ã§ãã
+<codeblock><b><ph>-- not valid</ph>
+SELECT MIN(flying_time), flight_id
+FROM Flights</b></codeblock></p></section>
+<section><p>éç´ã«ã¦å¤é¨ã¸ã®åç
§(ç¸é¢)ã¯ç¡å¹ã§ããã¤ã¾ããå¯ååããéç´ãå«ããªãã°ããã®éç´ãä½ç¨ããå¼ã¯ãå¯ååãã®å¤ã«ããååãã®åãåç
§ã§ãã¾ããã
+ä¾ãã°ãSUMæ¼ç®åãå¤ã®ååãã®åã«å¯¾ãã¦è¡ããã¦ããã®ã§ã次ã®ååãã¯æå¹ã§ã¯ããã¾ããã
+<codeblock><b>SELECT c1
+FROM t1
+GROUP BY c1
+HAVING c2 >
+ (SELECT t2.x
+ FROM t2
+ WHERE t2.y = SUM(t1.c3)) </b></codeblock></p></section>
+<section><p>éç´ãå¤ã®ååãã«ããå ´åããã®<i>ResultSet</i>ã®ã«ã¼ã½ã«ã¯æ´æ°å¯è½ã§ã¯ããã¾ããã</p></section>
+<section><p>ãã®ç¯ã«ã¯ä»¥ä¸ã®éç´ãããã¾ãã<ul>
+<li><xref href="rrefsqlj32693.dita#rrefsqlj32693"></xref></li>
+<li><xref href="rrefsqlj38716.dita#rrefsqlj38716"></xref></li>
+<li><xref href="rrefsqlj27781.dita#rrefsqlj27781"></xref></li>
+<li><xref href="rrefsqlj33520.dita#rrefsqlj33520"></xref></li>
+<li><xref href="rrefsqlj13083.dita#rrefsqlj13083"></xref></li>
+</ul></p></section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj33923.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34148.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34148.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34148.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34148.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="rrefsqlj34148" xml:lang="ja">
+<title>DROP TABLE æ</title>
+<prolog><metadata>
+<keywords><indexterm>DROP TABLE statement</indexterm><indexterm>Tables<indexterm>dropping</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>DROP TABLE ã«ãã表ãç ´æ£ã§ãã¾ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b>DROP TABLE <i><xref href="rreftablename.dita#rreftablename">表å</xref></i></b></codeblock> </refsyn>
+<section id="sqlj38361"><title>æã®ä¾å</title>
+<p>表ã®ããªã¬ãå¶ç´(主ãã¼ã䏿ããã§ãã¯ãç ´æ£ãã表ããåç
§)ãç´¢å¼ã¯ãæé»è£¡ã«åé¤ããã¾ããç ´æ£ãããã¨ãã表ã«éããã«ã¼ã½ã«ããã£ãå ´åãDROP TABLEã¯ã¨ã©ã¼ã¨ãªã表ã¯ç ´æ£ããã¾ããã</p> <p>表ãç ´æ£ããã¨ããã®è¡¨ã«ä¾åããæãç¡å¹ã¨ãªãã¾ãã(ç¡å¹ã¨ãªã£ãæã¯æ¬¡åã®å®è¡ã§åã³ã³ãã¤ã«ããã¾ãã<xref href="crefsqlj22771.dita#crefsqlj22771"></xref>ãåç
§ãã¦ãã ããã)</p> </section>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34148.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34177.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34177.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34177.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34177.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="rrefsqlj34177" xml:lang="ja">
+<title>CURRENT_DATE颿°</title>
+<prolog><metadata>
+<keywords><indexterm>CURRENT_DATE function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>CURRENT_DATEã¯ç¾å¨ã®æ¥ä»ãè¿ãã¾ãããªãä¸ã¤ã®æã§è¤æ°å¼ã°ããæã«è¿ãããå¤ã¯åãã§ããå¾ã£ã¦æéãç½®ãã¦ã«ã¼ã½ã«ãè¡ãæ¾ãã¨ãã§ããå¤ã¯åºå®ããã¦ãã¦åãã¨ãããã¨ã§ãã</p></section>
+<refsyn><title>æ§æ</title>
+<codeblock><b>CURRENT_DATE</b></codeblock> <p>ãããã¯</p> <codeblock><b>CURRENT DATE</b></codeblock> </refsyn>
+<example> <codeblock><b><ph>-- ç¾å¨ãã以éã®æ¥ä»ã®ä¾¿ãæ¢ãã</ph>
+SELECT * FROM Flightavailability where flight_date > CURRENT_DATE;</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj34177.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native
Added: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35034.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35034.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35034.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35034.dita Sat Jan 5 00:25:17 2008
@@ -0,0 +1,87 @@
+<?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="rrefsqlj35034" xml:lang="ja">
+<title>INNER JOIN æ¼ç®</title>
+<prolog><metadata>
+<keywords><indexterm>INNER JOIN æ¼ç®</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>INNER JOINã¨ã¯ãæç¤ºçãªçµåå¥ãè¨è¿°ãããã¨ãã§ããã<xref href="rrefsqlj29840.dita#rrefsqlj29840">JOIN æ¼ç®</xref>ã§ãã</p></section>
+<refsyn><title>æ§æ</title> <codeblock><b><i><xref href="rreftableexpression.dita#rreftableexpression">表å¼</xref></i> [ INNER ] JOIN <i
+><xref href="rreftableexpression.dita#rreftableexpression">表å¼</xref></i> { ON <i>çå½å¼</i> }</b></codeblock>
+<p>ONã«çå½å¼ãè¨è¿°ãããã¨ã§ãçµåå¥ãè¨è¿°ã§ãã¾ãã</p>
+<p><indexterm>ON clause<indexterm>part of
+INNER JOIN expression</indexterm></indexterm>ONç¯ã«ããå¼ã§ã¯ãç´æ¥ã®è¡¨ããã³ãå¤é¨ã®åãåããæãããç´æ¥ã®SELECTæã¾ã§ã®éã«ãã表ãå¯è¦ã§ãã
+以ä¸ã®ä¾ã§ã¯ONç¯ã¯ç´æ¥ã®è¡¨ãåç
§ãã¦ãã¾ãã
+<codeblock><b>SELECT *
+FROM SAMP.EMPLOYEE INNER JOIN SAMP.STAFF
+ON EMPLOYEE.SALARY < STAFF.SALARY
+</b></codeblock></p>
+<p>ONç¯ã§ã¯çµåããã¦ããªã表ãåç
§ãããã¨ãã§ãã¾ããã¾ãçµåãã¦ãã表ãåç
§ããªãã¦ããã¾ãã¾ããã(ä¸è¬çã«ã¯åç
§ãã¾ãã)</p> </refsyn>
+<example> <codeblock><b><ph>-- EMP_ACTã¨EMPLOYEEã¨ãã表ãçµåãã¾ãã</ph>
+-- EMP_ACTã¨ãã表ããå
¨åã鏿ãã¦ã
+-- EMPLOYEEã¨ãã表ãã徿¥å¡ã®èå(LASTNAME)ãããããã®è¡ã«
+-- å ãã¾ãã
+SELECT SAMP.EMP_ACT.*, LASTNAME
+ FROM SAMP.EMP_ACT JOIN SAMP.EMPLOYEE
+ ON EMP_ACT.EMPNO = EMPLOYEE.EMPNO
+-- EMPLOYEEã¨DEPARTMENTã¨ãã表ãçµåãã¦ã
+-- 1930å¹´ããåã«çã¾ãã(BIRTDATE)å
¨ã¦ã®å¾æ¥å¡ã®ã
+-- 徿¥å¡çªå·(EMPNO)ã徿¥å¡ã®èå(LASTNAME)ã
+-- é¨ç½²çªå·(EMPLOYEEã¨ãã表ã®WORKDEPTã¨ãDEPARTMENTã¨ãã表ã®DEPTNO)ã
+-- é¨ç½²å(DEPTNAME)ã鏿ããã
+SELECT EMPNO, LASTNAME, WORKDEPT, DEPTNAME
+ FROM SAMP.EMPLOYEE JOIN SAMP.DEPARTMENT
+ ON WORKDEPT = DEPTNO
+ AND YEAR(BIRTHDATE) < 1930
+
+<ph>-- VALUESç¯ãã鏿ããåãåãã(selectæã®ä¸ä¾)ã«ããå¤ã"çæ"ããå¥ã®ä¾ </ph>
+-- ãã®åãåããã«ãããä¸è¡ã®æ
å ±ãæã¤"R1"ã¨"R2"ã¨ãã2åã®"x"ã¨ãã表ã
+-- ã©ã®ããã«å°åºããã®ã示ãã
+SELECT *
+FROM (VALUES (3, 4), (1, 5), (2, 6))
+AS VALUESTABLE1(C1, C2)
+JOIN (VALUES (3, 2), (1, 2),
+(0, 3)) AS VALUESTABLE2(c1, c2)
+ON VALUESTABLE1.c1 = VALUESTABLE2.c1
+-- This results in:
+-- C1 |C2 |C1 |2
+-- -----------------------------------------------
+-- 3 |4 |3 |2
+-- 1 |5 |1 |2
+
+<ph>
+-- å
¨ã¦ã®é¨ç½²ãã管çè
ã®èåã¨å¾æ¥å¡çªå·ã¨å
±ã«ä¸è¦§ããã</ph>
+
+SELECT DEPTNO, DEPTNAME, EMPNO, LASTNAME
+ FROM DEPARTMENT INNER JOIN EMPLOYEE
+ ON MGRNO = EMPNO
+
+<ph>-- å
¨ã¦ã®å¾æ¥å¡ã®å¾æ¥å¡çªå·ã¨èåãã
+-- ãã®ç®¡çè
ã®å¾æ¥å¡çªå·ã¨èåã¨å
±ã«ä¸è¦§ããã</ph>
+SELECT E.EMPNO, E.LASTNAME, M.EMPNO, M.LASTNAME
+ FROM EMPLOYEE E INNER JOIN
+ DEPARTMENT INNER JOIN EMPLOYEE M
+ ON MGRNO = M.EMPNO
+ ON E.WORKDEPT = DEPTNO</b></codeblock> </example>
+</refbody>
+</reference>
+
Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefsqlj35034.dita
------------------------------------------------------------------------------
svn:svn:eol-style = native