create or replace directory SOURCE_DIR as
'+DATADG/sfoss/onlinelog/';
create or replace directory ORACLE_DEST as '/tmp/oralog/dest';
BEGIN
dbms_file_transfer.copy_file(source_directory_object =>
'SOURCE_DIR', source_file_name => 'group_1.257.695065683',
destination_directory_object => 'ORACLE_DEST',
destination_file_name => 'redo_1.log');
END;
/
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/11258275/viewspace-667812/ ,如需转载,请注明出处,否则将追究法律责任。