官术网_书友最值得收藏!

  • Oracle SQL Developer
  • Ajith Narayanan
  • 415字
  • 2021-07-16 09:39:02

Working with the Connections navigator

The Connections navigator lists all our database connections created by us. A double-click on each of those database connections will open the database connection for us using the saved credentials for that particular database. Objects are grouped into nodes in the Connections navigator to reflect their types. They are ordered by most commonly used with Tables, Views, and Indexes at the top of the list. You can refer to the following screenshot to see the grouping, order, and some of the currently available types displayed in the Connections navigator. The selection of browsable object types available increases with each release as the SQL Developer team adds support for more features. SQL Developer allows you to explore the contents of your database using the connection tree.

A complete list of supported database object types can be seen in the following screenshot:

Opening connections

To open a connection in the navigator, follow these steps:

  1. Under the Connections navigator, expand any of the existing database connection nodes to establish the database connection.
  2. The second option is to right-click on any of the database connection nodes under the Connections navigator and select Connect from the context menu.

The first time you connect to a database schema, whether you open an existing connection or click on Connect in the New Database Connections dialog, SQL Developer automatically expands the connection in the Connections navigator and opens a SQL Worksheet. This automatic opening of the SQL Worksheet is controlled by a preference: Open a Worksheet on connect. Go to Tools | Preferences, expand the Database node, and select Worksheet.

Tip

Reconnecting users

When doing administrative work with users, it can help to disconnect the user you are working with before making the changes and reconnect them afterwards. Some actions, such as dropping users or renaming connections, will not be possible without first disconnecting the connection.

Database schema or user?

The Oracle Concepts Guide states: A schema is a collection of database objects. A schema is owned by a database user and has the same name as that user.

Throughout the text, we use schema and user interchangeably. For the most part, we refer to the SYSTEM and HR schemas, meaning the collection of database objects. When closely or directly related to an activity we use "user", as the code does this. For example, consider DROP user HR cascade. It is a piece of code that drops all of the objects in the schema and the user itself.

主站蜘蛛池模板: 涪陵区| 资阳市| 余庆县| 杨浦区| 汕头市| 安新县| 襄樊市| 吴江市| 屏东市| 通州市| 城口县| 富阳市| 桐庐县| 漳州市| 墨脱县| 来安县| 天等县| 镇雄县| 奉节县| 丰都县| 鹤峰县| 汾阳市| 连云港市| 佛坪县| 宁强县| 商河县| 精河县| 重庆市| 沈阳市| 山阴县| 桦甸市| 阳春市| 长子县| 仲巴县| 西宁市| 南平市| 稷山县| 府谷县| 通辽市| 晋江市| 呈贡县|