答案 0 :(得分:0)
这个 utility 在调用 sql 脚本之前将 sqlplus 命令 PROMPT sql 文件名添加到 sql 文件中。 例如输出文件
SPOOL a.log;
PROMPT "Start script: 635155_IPAB_mmsg.sql"
@635155_IPAB_mmsg.sql
PROMPT "---------------------------------------------------------------------------------------------------------"
PROMPT "Start script: 635558_MMSG_INSERT.sql"
@635558_MMSG_INSERT.sql
PROMPT "---------------------------------------------------------------------------------------------------------"
PROMPT "Start script: 635585_Insert_COMT.sql"
@635585_Insert_COMT.sql
PROMPT "---------------------------------------------------------------------------------------------------------"
PROMPT "Start script: 638272_MMSG_INSERT.sql"
@638272_MMSG_INSERT.sql
PROMPT "---------------------------------------------------------------------------------------------------------"
PROMPT "Start script: 638464_mmsg_insert.sql"
@638464_mmsg_insert.sql
PROMPT "---------------------------------------------------------------------------------------------------------"
PROMPT "Start script: 639155.sql"
@639155.sql
PROMPT "---------------------------------------------------------------------------------------------------------"
PROMPT "Start script: 645015_mms.sql"
@645015_mms.sql
PROMPT "---------------------------------------------------------------------------------------------------------"
PROMPT "Start script: 646412_MMSG_Modify.sql"
@646412_MMSG_Modify.sql
PROMPT "---------------------------------------------------------------------------------------------------------"
SPOOL OFF;