【问题标题】:Apache Derby - Does it support 'WITH'Apache Derby - 它是否支持“WITH”
【发布时间】:2017-07-11 09:50:38
【问题描述】:

在互联网上根本找不到任何东西,想知道是否有人可以帮助我。

在 Spring Boot 应用程序中将 Apache Derby 与查询一起使用:

查询开始如下:

WITH dbName AS {
    (Then goes on to select data from tables)
}

运行我的测试用例时,我得到一个异常,内容如下:

java.sql.SQLSyntaxErrorException: Syntax error: Encountered "with" at line 1, column 1

Apache Derby 是否支持WITH?我看不出这不应该有任何其他原因。

【问题讨论】:

标签: sql derby


【解决方案1】:

经过更多研究,我可以确认 Derby 不支持递归查询

发现这个问题https://issues.apache.org/jira/browse/DERBY-11

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-12-11
    • 2011-03-26
    • 1970-01-01
    • 1970-01-01
    • 2011-02-16
    • 2016-09-12
    相关资源
    最近更新 更多