zoukankan      html  css  js  c++  java
  • PL/SQL Developer主数据库连接和窗口连接切换

    Oracle开发者估计对PL/SQL Developer都非常熟悉了,里面有些小的功能点大概还有些初学者没发现。PL/SQL Developer支持多连接多窗口,下面详细说说。

    1. 主连接的概念

      打开PL/SQL Developer出现登录界面,成功登录后的数据库连接就是主连接。新建窗口和打开文件都是使用这个主连接,对象浏览器也显示主连接的内容。主连接的特征

      1)Session菜单Log on...,里面那个黑体的就是当前主连接。

      2)Connection List

      可以直接在每个连接点右键上新建和打开脚本。

      那么这个主连接又是什么意思呢?

      官方文档:

      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

      create a database session for the main connection. The Object Browser will also use the main

      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窗口并运行查询,你将隐含地建立一个与主连接的会话。对象浏览器也会使用这个主连接。在成功的登录

      更改主连接:

      1. Session菜单Log on...

      2、Connection List双击连接。】

       

      二、窗口钉住连接的功能

      每个编辑窗口可以是不同的连接,从这里选择,选择后这个窗口会被自动钉住连接。

      旁边那个"钉住"标志如是红色则本窗口的连接在主连接改变的情况下不变,既不受影响。如是灰色,则这个窗口的连接跟随主连接改变。

  • 相关阅读:
    burpsuite-小结
    docker化安装apollo
    Linux Shell基础篇——变量
    Linux 用户篇——用户管理命令之id、whoami、su、chage
    Linux 用户篇——用户管理命令之useradd、passwd、userdel、usermod
    Linux 用户篇——用户管理的配置文件
    Linux 基础——常用的Linux网络命令
    Linux 基础——关机重启命令shutdown、reboot等
    Linux 基础——文件搜索命令find
    Linux 基础——权限管理命令chown、chgrp
  • 原文地址:https://www.cnblogs.com/edong/p/4189167.html
Copyright © 2011-2022 走看看