db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1718187 - in /db/derby/docs/trunk/src/ref: refderby.ditamap rrefgetdbname.dita
Date Sun, 06 Dec 2015 15:31:48 GMT
Author: rhillegas
Date: Sun Dec  6 15:31:48 2015
New Revision: 1718187

URL: http://svn.apache.org/viewvc?rev=1718187&view=rev
Log:
DERBY-6847: Document SYSCS_UTIL.SYSCS_GET_DATABASE_NAME(); commit derby-6847-01-aa-refGuideSection.diff.

Added:
    db/derby/docs/trunk/src/ref/rrefgetdbname.dita   (with props)
Modified:
    db/derby/docs/trunk/src/ref/refderby.ditamap

Modified: db/derby/docs/trunk/src/ref/refderby.ditamap
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/refderby.ditamap?rev=1718187&r1=1718186&r2=1718187&view=diff
==============================================================================
--- db/derby/docs/trunk/src/ref/refderby.ditamap (original)
+++ db/derby/docs/trunk/src/ref/refderby.ditamap Sun Dec  6 15:31:48 2015
@@ -850,6 +850,8 @@ limitations under the License.
 <topicref href="crefsqlbuiltinsystemfunctions.dita" navtitle="Built-in system functions">
 <topicref href="rrefsyscschecktablefunc.dita" navtitle="SYSCS_UTIL.SYSCS_CHECK_TABLE system
function">
 </topicref>
+<topicref href="rrefgetdbname.dita" navtitle="SYSCS_UTIL.SYSCS_GET_DATABASE_NAME system
function">
+</topicref>
 <topicref href="rrefgetdbpropfunc.dita" navtitle="SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTY
system function">
 </topicref>
 <topicref href="rrefsyscsruntimestatsfunc.dita" navtitle="SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS
system function">

Added: db/derby/docs/trunk/src/ref/rrefgetdbname.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefgetdbname.dita?rev=1718187&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ref/rrefgetdbname.dita (added)
+++ db/derby/docs/trunk/src/ref/rrefgetdbname.dita Sun Dec  6 15:31:48 2015
@@ -0,0 +1,48 @@
+<?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="rrefgetdbpropfunc" xml:lang="en-us">
+<title>SYSCS_UTIL.SYSCS_GET_DATABASE_NAME system function</title>
+<shortdesc>The <codeph>SYSCS_UTIL.SYSCS_GET_DATABASE_NAME</codeph> function
+returns the name of the database of the current
+connection.</shortdesc>
+<refbody>
+
+<section>
+<title>Syntax</title>
+<codeblock>VARCHAR(32672) SYSCS_UTIL.SYSCS_GET_DATABASE_NAME()</codeblock>
+</section>
+
+<section>
+<title>Execute privileges</title>
+<p>By default, all users have execute privilege on this function.</p>
+</section>
+
+<section>
+<title>SQL example</title>
+<p>Retrieve the database name:</p>
+<codeblock>
+VALUES SYSCS_UTIL.SYSCS_GET_DATABASE_NAME();
+</codeblock>
+</section>
+
+</refbody>
+</reference>
+

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



Mime
View raw message