Oracle開發者估計對PL/SQL Developer都很是熟悉了,裏面有些小的功能點大概還有些初學者沒發現。PL/SQL Developer支持多鏈接多窗口,下面詳細說說。 數據庫
打開PL/SQL Developer出現登陸界面,成功登陸後的數據庫鏈接就是主鏈接。新建窗口和打開文件都是使用這個主鏈接,對象瀏覽器也顯示主鏈接的內容。主鏈接的特徵 瀏覽器
1)Session菜單Log on...,裏面那個黑體的就是當前主鏈接。 session
2)Connection List 對象
能夠直接在每一個鏈接點右鍵上新建和打開腳本。 blog
那麼這個主鏈接又是什麼意思呢? ci
官方文檔: 開發
The main connection is used for all functions in PL/SQL Developer where you do not explicitly select a 文檔
connection. For example, when opening a new SQL Window and executing a query, you will implicitly it
create a database session for the main connection. The Object Browser will also use the main io
connection.
After logging on in PL/SQL Developer you have implicitly set the main connection. The main
connection can be changed by using the Session > Log on function again, or by double-clicking on a
connection in the Connection List. In the Connection List the main connection is displayed in bold.
【當你沒有明確選擇一個鏈接時PL/SQL Developer的全部功能將使用主鏈接。例如打開一個新的SQL窗口並運行查詢,你將隱含地創建一個與主鏈接的會話。對象瀏覽器也會使用這個主鏈接。在成功的登陸
更改主鏈接:
二、Connection List雙擊鏈接。】
2、窗口釘住鏈接的功能
每一個編輯窗口能夠是不一樣的鏈接,從這裏選擇,選擇後這個窗口會被自動釘住鏈接。
旁邊那個"釘住"標誌如是紅色則本窗口的鏈接在主鏈接改變的狀況下不變,既不受影響。如是灰色,則這個窗口的鏈接跟隨主鏈接改變。