2011-03-09 55 views

回答

6

您可以使用内置的SQL * Plus替换变量_USER和_CONNECT_IDENTIFIER。

以下行添加到您的SQL * Plus脚本:

prompt Currently executing test_script.SQL as &[email protected]&_CONNECT_IDENTIFIER 

这里是link to the documentation

+0

谢谢!我猜这个文件的名字没有什么区别,但是只有在创建新脚本时才需要更改,所以它并没有那么糟糕。 – FrustratedWithFormsDesigner