在线 SQL 查询语法检查器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22977293/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-01 01:37:52  来源:igfitidea点击:

Online SQL Query Syntax Checker

sql

提问by sa_nyc

I need an online sql query syntax validator.

我需要一个在线 sql 查询语法验证器。

I searched online but didn't find anything good.

我在网上搜索,但没有找到任何好的。

I saw the references in this question too:

我也看到了这个问题中的参考资料:

Syntax Checker and Validator for SQL?

SQL 的语法检查器和验证器?

回答by serakfalcon

SQLFiddlewill let you test out your queries, while it doesn't explicitly correct syntax etc. per se it does let you play around with the script and will definitely let you know if things are working or not.

SQLFiddle可以让你测试你的查询,虽然它本身没有明确正确的语法等,但它确实让你玩弄脚本,并且肯定会让你知道事情是否正常。

回答by DeanOC

A lot of people, including me, use sqlfiddle.com to test SQL.

包括我在内的很多人都使用 sqlfiddle.com 来测试 SQL。