如何验证oracle查询是否正确? [英] how to validate a oracle query is correct or not?

查看:53
本文介绍了如何验证oracle查询是否正确?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Tech Folks,我正在用C#开发一个.net应用程序,通过它我们将为用户提供一个前端,他们将编写一个查询,结果集显示在gridview表中所以我只是想知道我如何从我的结束验证oracle查询/语法请帮助我从我这边获得验证这个oracle查询的可能方法

解决方案

请阅读我的评论问题。



我需要警告你 SQL Injection [ ^ ]。



如果你想检查sql语句是否正确,请看这里:

http://stackoverflow.com/questions/5735791/parser-for-oracle-sql [ ^ ]

http://www.sqlparser。 com / oracle-sql-parser.php [ ^ ]


您好,



尝试使用 http://www.sqlparser.com/ [ ^ ]。



它不是免费的,但它们有试用版。



谢谢,

Hi Tech Folks, I am developing a .net application in C# through which we will give a front end to the users where they will write a query and the result set is shown in a gridview table So i just want to know that how can i validate a oracle query/syntax from my end Kindly help me to get possible ways to validate this oracle query from my side

解决方案

Please, read my comment to the question.

I need to warn you about SQL Injection[^].

If you want to check if sql statement is correct or not, please have a look here:
http://stackoverflow.com/questions/5735791/parser-for-oracle-sql[^]
http://www.sqlparser.com/oracle-sql-parser.php[^]


Hi ,

Try using the SQL Parser from http://www.sqlparser.com/[^].

Its not free but they have a trial version available.

Thanks,


这篇关于如何验证oracle查询是否正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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