Oracle 视图 ALL_DIRECTORIES 官方解释,作用,如何使用详细说明
本站中文解释
?
ALL_DIRECTORIES 视图用来查看用户可以使用的目录信息(相当于文件夹)。比如目录名称,目录类型,用户可以访问的目录等等,都列在视图中。
使用方法:
— 查询当前可以访问的目录:
SELECT * FROM ALL_DIRECTORIES;
— 查询目录名为media/week_reports的信息:
SELECT * FROM ALL_DIRECTORIES WHERE directory_name=’media/week_reports’;
官方英文解释
ALL_DIRECTORIES
describes all directories accessible to the current user.
Related View
DBA_DIRECTORIES
describes all directories in the database.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the directory (always |
|
|
|
Name of the directory |
|
|
Operating system pathname for the directory |
|
|
|
The ID of the container where the data originates. Possible values include:
|
See Also:
“DBA_DIRECTORIES”