| Goal | What are the pairs of base tables that have at least two columns with the same names and data types. The tables might violate the principle of orthogonal design and hence might facilitate uncontrolled data redundancy over different tables. |
|---|---|
| Type | Problem detection (Each row in the result could represent a flaw in the design) |
| Reliability | Low (Many false-positive results) |
| License | MIT (opens in new tab) |
| Fixing Suggestion | If there is data redundancy, then it must be controlled. One can, for instance, achieve controlled data redundancy with the help of triggers. |
| Data Source | INFORMATION_SCHEMA only |
| SQL Query |
|
Categories
This query is classified under the following categories:
Data redundancy
Queries of this category provide information about possible data redunancy.
Data types
Queries of this category provide information about the data types and their usage.
Duplication of implementation elements
Queries of this catergory provide information about the duplication of the database objects.
| Name | Description |
|---|---|
| Data redundancy | Queries of this category provide information about possible data redunancy. |
| Data types | Queries of this category provide information about the data types and their usage. |
| Duplication of implementation elements | Queries of this catergory provide information about the duplication of the database objects. |
Further reading and related materials: