Oracle Solution for Error ora-48444

Solution for Oracle Error ORA-48444

ORA-48444: The single "." and "*" cannot appear in the middle of the path

What triggered the Error:

The single "." and "*" appears in the middle of the path

What should we do to fix it:

Validate the input