Error codes › 1138
MySQL & MariaDB error 1138 ER_INVALID_USE_OF_NULL
Example from our test runs:
Invalid use of NULL value (5.7.44) | MySQL | MariaDB | |
|---|---|---|
| Symbol | ER_INVALID_USE_OF_NULL | ER_INVALID_USE_OF_NULL |
| SQLSTATE | 22004 | 22004 |
| Type | Server error | Server error |
| Versions | every release since 5.0 active | every release since 5.5 active |
Where this error shows up in our guides
- Remove NOT NULL constraint from a table · MODIFY ... NOT NULL while NULLs exist (5.6 non-strict silently turns NULL into '' with warning 1265) MySQL 5.7 8.0 8.4 9