ORA-40499 Trying To Use BLOB For JSON
Last updated on JULY 06, 2018
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Information in this document applies to any platform.
On : 22.214.171.124 version, XML Database
When attempting to create a JSON table on BLOB column
the following error occurs.
CREATE TABLE t(json BLOB);
Table T created.
Error starting at line : 3 in command -
ALTER TABLE t ADD CONSTRAINT ensure_json CHECK (json IS JSON STRICT)
Error report -
ORA-40499: no format defined for binary data type
40499. 00000 - "no format defined for binary data type"
*Cause: The provided JSON input was of binary type but a format was not defined.
*Action: Define a format for binary input.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms