Constraints With Hidden Rows in a Database
First Claim
1. A method comprising:
- creating a constraint for a database table, wherein the constraint specifies a condition for a first column in the database table and an action, wherein the action specifies whether data that violates the condition is allowed to be stored in the first column;
receiving a value and a specification of a second column in the database table from a data source; and
if the second column is identical to the first column, the value violates the condition, and the action specifies that data that violates the condition is allowed to be stored, storing the value in a row in the database and marking the row as hidden.
1 Assignment
0 Petitions
Accused Products
Abstract
In an embodiment, a constraint is created for a database table. The constraint specifies a condition for a first column in the database table and an action. The action specifies whether data that violates the condition is allowed to be stored in the first column. A value and a specification of a second column in the database table are received from a data source. If the second column is identical to the first column, the value violates the condition, and the action specifies that data that violates the condition is allowed to be stored, the value is stored in a row in the database, the row is marked as hidden, and an identification of the constraint that was violated is stored in the row. A query does not return the row that is marked as hidden.
54 Citations
20 Claims
-
1. A method comprising:
-
creating a constraint for a database table, wherein the constraint specifies a condition for a first column in the database table and an action, wherein the action specifies whether data that violates the condition is allowed to be stored in the first column; receiving a value and a specification of a second column in the database table from a data source; and if the second column is identical to the first column, the value violates the condition, and the action specifies that data that violates the condition is allowed to be stored, storing the value in a row in the database and marking the row as hidden. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A storage medium encoded with instructions, wherein the instructions when executed comprise:
-
creating a constraint for a database table, wherein the constraint specifies a condition for a first column in the database table and an action, wherein the action specifies whether data that violates the condition is allowed to be stored in the first column; receiving a value and a specification of a second column in the database table from a data source; and if the second column is identical to the first column, the value violates the condition, and the action specifies that data that violates the condition is allowed to be stored, storing the value in a row in the database, marking the row as hidden, and storing an identification of the constraint that was violated in the row, wherein a query does not return the row that is marked as hidden. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer system comprising:
-
a processor; and memory communicatively connected to the processor, wherein the memory encodes instructions that when executed by the processor comprise; creating a constraint for a database table, wherein the constraint specifies a condition for a first column in the database table and an action, wherein the action specifies whether data that violates the condition is allowed to be stored in the first column, receiving a value and a specification of a second column in the database table from a data source, and if the second column is identical to the first column, the value violates the condition, and the action specifies that data that violates the condition is allowed to be stored, storing the value in a row in the database, marking the row as hidden, and storing an identification of the constraint that was violated in the row, wherein a query does not return the row that is marked as hidden. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification