Invention Grant
- Patent Title: Enforcing referential integrity for database columns
-
Application No.: US16016417Application Date: 2018-06-22
-
Publication No.: US10891276B2Publication Date: 2021-01-12
- Inventor: Basavaraja Sugeerappa , Swarupa Kummitha , Kishan P. Shetty , Sameer Pitke , Rajendra Sripada
- Applicant: FMR LLC
- Applicant Address: US MA Boston
- Assignee: FMR LLC
- Current Assignee: FMR LLC
- Current Assignee Address: US MA Boston
- Agency: Proskauer Rose LLP
- Main IPC: G06F16/215
- IPC: G06F16/215

Abstract:
Methods and apparatuses are described for enforcing referential integrity of database columns across a plurality of tables in a database. A server periodically captures a database schema comprising relationships between a primary key column in a first table and a foreign key column in a second table. The server executes a first procedure call to determine a discrepancy between the primary key column and the foreign key column with respect to a data length value or a data type value. The server executes database queries against data in the first table or second table to confirm the discrepancy. The server executes a second procedure call to change the data length value or the data type value. After the second procedure call finishes, the data length value and the data type value of the primary key column and the foreign key column match.
Public/Granted literature
- US20190392056A1 ENFORCING REFERENTIAL INTEGRITY FOR DATABASE COLUMNS Public/Granted day:2019-12-26
Information query