oracle set define off,oracledefine

來源:互聯網
上載者:User

oracle set define off,oracledefine

在SQL/Plus中預設的"&"表示替代變數,也就是說,只要在命令中出現該符號,SQL/Plus就會要你輸入替代值。
這就意味著你無法將一個含有該符號的字串輸入到資料庫中或賦給某一個變數。
如字串“You&I”系統會理解為以“You”打頭的字串,它會提示你輸入替代變數I的值,如果你輸入I,則最終字串轉化為“YouI”。

set define off 則關閉該功能,“&”將作為一般字元,如上例,最終字元就為“You&I”

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.