如何从命令行测试SQL的有效性? [英] How to test SQL for validity from the command line?

查看:184
本文介绍了如何从命令行测试SQL的有效性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一个好的工具来确保SQL查询是有效的ANSI SQL,以及可选的,什么DBMS将无法解释它?我找到了 http://developer.mimer.com/validator ,但我想知道是否有

Is there a good tool for ensuring that an SQL query is valid ANSI SQL, and optionally what DBMSs will fail to interpret it? I've found http://developer.mimer.com/validator but I was wondering whether there is a command line tool, preferably open source.

推荐答案

这是一个 SQL Library ,可以帮助您执行供应商特定的离线SQL语法检查通过命令行,Java和.NET演示可用。

Here is a SQL Library that can help you to do vendor-specific offline SQL syntax check via command line, both Java and .NET demo were available.

这篇关于如何从命令行测试SQL的有效性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆