DDL Command cannot Save File in the Current Working Directory when Directory Changed(CD)
(Doc ID 2763741.1)
Last updated on JULY 21, 2021
Applies to:Oracle SQLcl - Version 20.3 and later
Information in this document applies to any platform.
The example(s) provided are for demonstration purposes only and represents fictitious sample (based upon made up data used in the Oracle Demo instance). Any similarity to actual data, web sites and / or persons, living or dead, is purely coincidental and not intended in any manner.
Trying to save the DDL script of the table using below statement do not save the file <filename>.sql in the current working directory.
But saves the DDL script file in the directory where the executable .sql was launched.
Note: The issue occurs on Linux/Unix environment
Change the present working directory to different directory using "CD" command
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document