CREATE DIRECTORY — create a directory object
CREATE [ OR REPLACE ] DIRECTORY dirname AS dirpath
CREATE DIRECTORY
defines a directory object. This command takes effect only in oracle-compatible mode.
dirname
The dirname
parameter indicates the name of the DIRECTORY
object.
dirpath
The dirpath
parameter indicates the directory path of the DIRECTORY
object.
The dirpath
cannot overlap with LTDATA
.
Create directory object:
CREATE DIRECTORY aaa AS '/home/lightdb'; CREATE OR REPLACE abc AS '/data';