首页> 外文期刊>The Journal of Systems and Software >Semantic errors in SQL queries: A quite complete list
【24h】

Semantic errors in SQL queries: A quite complete list

机译:SQL查询中的语义错误:完整列表

获取原文
获取原文并翻译 | 示例
       

摘要

We investigate classes of SQL queries which are syntactically correct, but certainly not intended, no matter for which task the query was written. For instance, queries that are contradictory, i.e. always return the empty set, are obviously not intended. However, current database management systems (DBMS) execute such queries without any warning. In this paper, we give an extensive list of conditions that are strong indications of semantic errors. Of course, questions like the satisfiability are in general undecidable, but a significant subset of SQL queries can actually be checked. We believe that future DBMS will perform such checks and that the generated warnings will help to develop application programs with fewer bugs in less time. (c) 2005 Elsevier Inc. All rights reserved.
机译:我们研究的SQL查询类在语法上是正确的,但无论是针对哪个任务编写的,都绝对不是故意的。例如,矛盾的查询(即始终返回空集)显然不是故意的。但是,当前的数据库管理系统(DBMS)执行此类查询时不会发出任何警告。在本文中,我们给出了广泛的条件列表,这些条件可以很好地表明语义错误。当然,诸如可满足性之类的问题通常无法确定,但是实际上可以检查SQL查询的重要子集。我们相信未来的DBMS将执行此类检查,并且所生成的警告将有助于在较短的时间内开发出具有更少错误的应用程序。 (c)2005 Elsevier Inc.保留所有权利。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号