You can see this error when executing a command like:
ALTER TABLE IMP_BAD_BOXESThe problem is in the single quotes surrounding the directory object name.
DEFAULT DIRECTORY 'IMPORT_DIR';
ORA-22929: invalid or missing directory name
The same error is also returned when using a CREATE TABLE statement.
The correct syntax requires either double quotes for case sensitive names or no quotes at all for case insensitive names.
ALTER TABLE IMP_BAD_BOXESor
DEFAULT DIRECTORY "Import_Dir";
ALTER TABLE IMP_BAD_BOXESThe last statement is equivalent to :
DEFAULT DIRECTORY import_dir;
ALTER TABLE IMP_BAD_BOXESNote that when using case sensitive names, if you mistype the name you'll get:
DEFAULT DIRECTORY "IMPORT_DIR";
ORA-06564: object Import_Dir does not exist
See message translations for ORA-22929, ORA-06564 and search additional resources.