怎么查看oracle中所有的directory
1个回答
2017-07-14
展开全部
SQL> conn / as sysdba
已连接。
SQL> create directory sscFjSsc as 'D:\his\data\ssc\fj';
目录已创建。
SQL> desc dba_directories
名称 是否为空? 类型
----------------------------------------- -------- ----------------------------
OWNER NOT NULL VARCHAR2(30)
DIRECTORY_NAME NOT NULL VARCHAR2(30)
DIRECTORY_PATH VARCHAR2(4000)
SQL> select count(1) from dba_directories;
COUNT(1)
----------
2
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME
------------------------------ ------------------------------
DIRECTORY_PATH
--------------------------------------------------------------------------------
SYS DATA_PUMP_DIR
D:\oracle\product\10.2.0\db_1\rdbms\log\
SYS SSCFJSSC
D:\his\data\ssc\fj
已连接。
SQL> create directory sscFjSsc as 'D:\his\data\ssc\fj';
目录已创建。
SQL> desc dba_directories
名称 是否为空? 类型
----------------------------------------- -------- ----------------------------
OWNER NOT NULL VARCHAR2(30)
DIRECTORY_NAME NOT NULL VARCHAR2(30)
DIRECTORY_PATH VARCHAR2(4000)
SQL> select count(1) from dba_directories;
COUNT(1)
----------
2
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME
------------------------------ ------------------------------
DIRECTORY_PATH
--------------------------------------------------------------------------------
SYS DATA_PUMP_DIR
D:\oracle\product\10.2.0\db_1\rdbms\log\
SYS SSCFJSSC
D:\his\data\ssc\fj
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询