提交 445d0c69 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Move System Tables into own HTML

上级 8ad743b5
...@@ -78,6 +78,7 @@ translate --> ...@@ -78,6 +78,7 @@ translate -->
<a href="grammar.html">SQL Grammar</a><br /> <a href="grammar.html">SQL Grammar</a><br />
<a href="functions.html">Functions</a><br /> <a href="functions.html">Functions</a><br />
<a href="datatypes.html">Data Types</a><br /> <a href="datatypes.html">Data Types</a><br />
<a href="systables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br /> <a href="../javadoc/index.html">Javadoc</a><br />
<a href="../h2.pdf">PDF (1 MB)</a><br /> <a href="../h2.pdf">PDF (1 MB)</a><br />
<br /> <br />
......
...@@ -159,12 +159,6 @@ syntax-end --> ...@@ -159,12 +159,6 @@ syntax-end -->
</table> </table>
<!-- railroad-end --> <!-- railroad-end -->
<h3>System Tables</h3>
<p class="notranslate">
<a href="#information_schema">Information Schema</a><br />
<a href="#range_table">Range Table</a><br />
</p>
<!-- railroad-start --> <!-- railroad-start -->
<h2>Details</h2> <h2>Details</h2>
<p>Click on the header to switch between railroad diagram and BNF.</p> <p>Click on the header to switch between railroad diagram and BNF.</p>
...@@ -274,34 +268,6 @@ syntax-end --> ...@@ -274,34 +268,6 @@ syntax-end -->
<p class="notranslate">${item.example}</p> <p class="notranslate">${item.example}</p>
</c:forEach> </c:forEach>
<h2>System Tables</h2>
<h3 id="information_schema" class="notranslate">Information Schema</h3>
<p>
The system tables in the schema <code>INFORMATION_SCHEMA</code> contain the meta data
of all tables in the database as well as the current settings.
</p>
<table class="main">
<tr><th>Table</th><th>Columns</th></tr>
<c:forEach var="item" items="informationSchema">
<tr class="notranslate">
<td>${item.topic}</td>
<td>${item.syntax}</td>
</tr>
</c:forEach>
</table>
<h3 id="range_table" class="notranslate">Range Table</h3>
<p>
The range table is a dynamic system table that contains all values from a start to an end value.
The table contains one column called X. Both the start and end values are included in the result.
The table is used as follows:
</p>
<p>Example:</p>
<pre>
SELECT X FROM SYSTEM_RANGE(1, 10);
</pre>
<!--[if lte IE 7]><script language="javascript">switchBnf(null);</script><![endif]--> <!--[if lte IE 7]><script language="javascript">switchBnf(null);</script><![endif]-->
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html> <!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Copyright 2004-2018 H2 Group. Multiple-Licensed under the MPL 2.0, Version 1.0,
and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>
System Tables
</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<!-- } -->
<h1>System Tables</h1>
<p class="notranslate">
<a href="#information_schema">Information Schema</a><br />
<a href="#range_table">Range Table</a><br />
</p>
<h2 id="information_schema" class="notranslate">Information Schema</h2>
<p>
The system tables in the schema <code>INFORMATION_SCHEMA</code> contain the meta data
of all tables in the database as well as the current settings.
</p>
<c:forEach var="item" items="informationSchema">
<h3 class="notranslate">${item.topic}</h3>
<p class="notranslate">${item.syntax}</p>
</c:forEach>
<h2 id="range_table" class="notranslate">Range Table</h2>
<p>
The range table is a dynamic system table that contains all values from a start to an end value.
The table contains one column called X. Both the start and end values are included in the result.
The table is used as follows:
</p>
<p>Example:</p>
<pre>
SELECT X FROM SYSTEM_RANGE(1, 10);
</pre>
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
...@@ -32,7 +32,8 @@ public class MergeDocs { ...@@ -32,7 +32,8 @@ public class MergeDocs {
String[] pages = { "quickstart.html", "installation.html", String[] pages = { "quickstart.html", "installation.html",
"tutorial.html", "features.html", "performance.html", "tutorial.html", "features.html", "performance.html",
"advanced.html", "grammar.html", "functions.html", "advanced.html", "grammar.html", "functions.html",
"datatypes.html", "build.html", "history.html", "faq.html" }; "datatypes.html", "systables.html",
"build.html", "history.html", "faq.html" };
StringBuilder buff = new StringBuilder(); StringBuilder buff = new StringBuilder();
for (String fileName : pages) { for (String fileName : pages) {
String text = getContent(fileName); String text = getContent(fileName);
......
...@@ -766,4 +766,4 @@ interpolated thead ...@@ -766,4 +766,4 @@ interpolated thead
die weekdiff osx subprocess dow proleptic microsecond microseconds divisible cmp denormalized suppressed saturated mcs die weekdiff osx subprocess dow proleptic microsecond microseconds divisible cmp denormalized suppressed saturated mcs
london dfs weekdays intermittent looked msec tstz africa monrovia asia tokyo weekday joi callers multipliers ucn london dfs weekdays intermittent looked msec tstz africa monrovia asia tokyo weekday joi callers multipliers ucn
openoffice organize libre openoffice organize libre systables
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论