کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
494175 860972 2006 15 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Semantic errors in SQL queries: A quite complete list
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر شبکه های کامپیوتری و ارتباطات
پیش نمایش صفحه اول مقاله
Semantic errors in SQL queries: A quite complete list
چکیده انگلیسی

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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Systems and Software - Volume 79, Issue 5, May 2006, Pages 630–644
نویسندگان
, ,