My Oracle Support Banner

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.

Symptoms

Disclaimer:

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

Changes

Change the present working directory to different directory using "CD" command

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.