Skip to main content

CREATE_FILE_ILLEGAL_USAGE error condition

SQLSTATE: 22023

Illegal usage of CREATE_FILE.

DESTINATION_PATH_PROVIDED

The data is being written to a MANAGED FILE column, which is managed by the system. Remove the destinationPath option.

DESTINATION_PATH_REQUIRED

The data is being written to an EXTERNAL FILE column. A destination path inside a Volume is required.

IF_FILE_EXISTS_MODE

Unrecognized mode for if_file_exists: <input>. Supported modes are: "error", "skip", and "overwrite".

IF_FILE_EXISTS_TYPE

if_file_exists needs to be a string literal. Found <className>.

IF_FILE_EXISTS_WITHOUT_DESTINATION

If_file_exists can only be set if a destination_path is provided.