System and method for automating implementation and execution of constraint most likely to be violated in a database
Abstract
Disclosed is a system and method of operating a computer to update a database. An entry made by a user for creating, deleting or modifying an entity type instance is checked to determine applicable constraints, which are then activated and placed in a pool. A firing order is then determined for the activated constraints. The first ranked constraint is then coded, using database calls if necessary to provide data for the logical statements, after which the coded constraint is fired. If the constraint was violated an error is signalled and processing is returned to the step of activating constraints for treatment of revised user data. Otherwise, it is determined if any constraints remain to be fired before returning to the step of activating or exiting.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 35.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for operating a computer to update an entity-relationship model database, the method comprising the steps performed by the computer of: accepting data for a new or modified instance or to delete an instance of an entity; activating constraints applicable to the accepted data; determining a firing order including at least a first constraint for firing from among the activated constraints, the first constraint being determined based on criteria which attempts to identify a constraint most likely to be violated; firing the first constraint; determining if the first constraint was
- Claim 2Depends on #1
A method as set forth in claim 1, wherein the step of determining a firing order for the activated constraints includes: finding a set
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 35 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (2)
- Peter Pin Shan Chen The Entity Relationship Model Toward A Unified View Of Data , ACM Transactions On Database Systems, vol. 1, No. 1, Mar., 1976, pp. 9 36.
- Peter Pin-Shan Chen "The Entity-Relationship Model--Toward A Unified View Of Data", ACM Transactions On Database Systems, vol. 1, No. 1, Mar., 1976, pp. 9-36.