Applicability
This variable is valid only in the MySQL mode.
foreign_key_checks specifies whether to enable FOREIGN KEY constraint check for DML or DDL statements.
| Attribute | Description |
|---|---|
| Type | Boolean |
| Default value | 1 |
| Value range | 0: disables FOREIGN KEY constraint check.1: enables FOREIGN KEY constraint check. |
| Applicable scope | |
| Involved in serialization | Yes |