Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
d2e85b27
提交
d2e85b27
authored
7月 13, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
f8a5383e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
16 行增加
和
8 行删除
+16
-8
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
help.csv
h2/src/main/org/h2/res/help.csv
+15
-8
没有找到文件。
h2/src/docsrc/html/roadmap.html
浏览文件 @
d2e85b27
...
...
@@ -430,6 +430,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
MVCC: compare concurrent update behavior with PostgreSQL and Oracle.
</li><li>
HSQLDB compatibility: CREATE FUNCTION (maybe using a Function interface).
</li><li>
HSQLDB compatibility: support CALL "java.lang.Math.sqrt"(2.0)
</li><li>
Support comma as the decimal separator in the CSV tool.
</li></ul>
<h2>
Not Planned
</h2>
...
...
h2/src/main/org/h2/res/help.csv
浏览文件 @
d2e85b27
...
...
@@ -2889,11 +2889,13 @@ are specified (a list of column names separated with the fieldSeparator), those
are used they are read from the file, otherwise (or if they are set to NULL) the
first line of the file is interpreted as the column names. The default charset
is the default value for this system, and the default field separator is a
comma. Missing unquoted values as well as data that matches the null string is
parsed as NULL. This function can be used like a table: SELECT * FROM
CSVREAD(...). Instead of a file, an URL may be used, for example
jar:file:///c:/temp/example.zip!/org/example/nested.zip. Admin rights are
required to execute this command.
comma. Missing unquoted values as well as data that matches nullString is
parsed as NULL. All columns of type VARCHAR.
This function can be used like a table: SELECT * FROM CSVREAD(...).
Instead of a file, an URL may be used, for example
jar:file:///c:/temp/example.zip!/org/example/nested.zip.
Admin rights are required to execute this command.
","
CALL CSVREAD('test.csv');
-- Read a file containing the columns ID, NAME with
...
...
@@ -2910,10 +2912,15 @@ CSVWRITE(fileNameString, queryString [, charsetString [, fieldSeparatorString
","
Writes a CSV (comma separated values). The file is overwritten if it exists. For
each parameter, NULL means the default value should be used. The default charset
is the default value for this system, and the default field separator is a
comma. The null string is used when writing NULL (by default nothing is written
is the default value for this system, and the default field separator is a comma.
The values are converted to text using the default string representation;
if another conversion is required you need to change the select statement accordingly.
The parameter nullString is used when writing NULL (by default nothing is written
when NULL appears). The default line separator is the default value for this
system ('line.separator' system property). The returned value is the number or
system ('line.separator' system property).
The returned value is the number or
rows written. Admin rights are required to execute this command.
","
CALL CSVWRITE('test.csv', 'SELECT * FROM TEST');
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论