| Goal | Find regular expressions that use both case insensitive search operator ~* and case insensitivity modifier (?i). |
|---|---|
| Type | Problem detection (Each row in the result could represent a flaw in the design) |
| Reliability | High (Few or no false-positive results) |
| License | MIT (opens in new tab) |
| Fixing Suggestion | Use only one of the means to ensure case insensitivity in search. Do it consistently throughout the project. |
| Data Source | INFORMATION_SCHEMA+system catalog |
| SQL Query |
|
Collections
This query belongs to the following collections:
Find problems automatically
Queries, that results point to problems in the database. Each query in the collection produces an initial assessment. However, a human reviewer has the final say as to whether there is a problem or not .
| Name | Description |
|---|---|
| Find problems automatically | Queries, that results point to problems in the database. Each query in the collection produces an initial assessment. However, a human reviewer has the final say as to whether there is a problem or not . |
Categories
This query is classified under the following categories:
Case sensitivity vs. case insensitivity
Queries of this category provide information about case sensitivity/insensitivity of identifiers or user data.
CHECK constraints
Queries of this category provide information about CHECK constraints.
Derived tables
Queries of this category provide information about the derived tables (views, materialized views), which are used to implement virtual data layer.
Duplication of implementation elements
Queries of this catergory provide information about the duplication of the database objects.
Regular expressions
Queries of this catergory provide information about the use of regular expressions.
User-defined routines
Queries of this category provide information about the user-defined routines
| Name | Description |
|---|---|
| Case sensitivity vs. case insensitivity | Queries of this category provide information about case sensitivity/insensitivity of identifiers or user data. |
| CHECK constraints | Queries of this category provide information about CHECK constraints. |
| Derived tables | Queries of this category provide information about the derived tables (views, materialized views), which are used to implement virtual data layer. |
| Duplication of implementation elements | Queries of this catergory provide information about the duplication of the database objects. |
| Regular expressions | Queries of this catergory provide information about the use of regular expressions. |
| User-defined routines | Queries of this category provide information about the user-defined routines |
Further reading and related materials: