如何在Java中获取所有SQL关键字?
我需要在我的 Java 程序中拥有特定数据库引擎的所有 SQL 关键字的列表。
我知道我可以使用 JDBC 中的 DatabaseMetaData.getSQLKeywords() 方法来列出 ANSI:2003 中不的所有数据库特定 SQL 关键字,
但是如何获取所有 ANSI(标准)SQL 关键字的列表?
I need to have a list of all SQL keywords of particular DB engine in my Java program.
I know that I can use DatabaseMetaData.getSQLKeywords() method from JDBC to list all DB specific SQL keywords that are not in ANSI:2003
But how I get a list of all ANSI (standard) SQL keywords?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于 ANSI:2003 关键字列表没有更改,我认为您可以从以下页面将其作为列表静态添加到您的应用程序中: http://developer.mimer.com/validator/sql-reserved-words.tml 无需调用数据库。
最好的
Since the list of ANSI:2003 keywords is not changing, I think you can statically add it to your Application as a list from the following page: http://developer.mimer.com/validator/sql-reserved-words.tml no need to call the DB for it.
bests