4、%SID_CS% FILE="%DATAPATH%%BAK%" log="%DATAPATH%%LOG_CS%" fromuser=hsfa touser=hsfa【recover.sql是:drop user hsfa cascade;Create user hsfa Identified by hsfa_0601Default tablespace tbs_hsfaTemporary tablespace temp;Grant connect,resource to hsfa;Grant create table,create view to hsfa;Grant debug con
5、nect session to hsfa;Grant dba to hsfa;revoke unlimited tablespace from hsfa;alter user hsfa quota unlimited on tbs_hsfa;exit;】3.扩展=================================================================================forfiles /p E:backup /m *.dmp /d -5 /c "cmd /c echo deleting @file ... && del /f @path"