1、新建directory的语法
CREATE [OR REPLACE] DIRECTORY directory AS 'pathname';
例如:
create or replace directory dump_dir as 'D:dumpdir'
这样把目录d:dumpdir设置成dump_dir代表的directory
2、查询有哪些directory
select * from dba_directories
3、赋权
grant read,write on directory dump_dir to user01
4、删除
drop directory dump_dir