Translating Advanced Integrity Checking Technology to SQL

Translating Advanced Integrity Checking Technology to SQL

Hendrik Decker (Instituto Tecnologico de Informatica, Spain)
Copyright: © 2002 |Pages: 47
DOI: 10.4018/978-1-930708-38-9.ch007
OnDemand PDF Download:
$37.50

Abstract

The main goal of this chapter is to arrive at a coherent technology for deriving efficient SQL triggers from declarative specifications of arbitrary integrity constraints. The user may specify integrity constraints declaratively as closed queries in predicate calculus syntax (i.e., sentences in the language of first-order logic, abbr. FOL), as datalog denials, as query conditions in SQL WHERE clauses, or in some other, possibly more user-friendly manner (e.g., via a dialog-driven graphical or natural language interface which internally translates to equivalent WHERE clause conditions). As we are going to see, the triggers derived from such specifications behave such that whenever some update event would violate any of the integrity constraints, one or several of the triggers derived from that constraint are activated in order to enforce the constraint. That is, the violation is either prevented by rolling back the update or repaired instantly by subsequent further updates.

Complete Chapter List

Search this Book:
Reset