2011-03-09 42 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