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

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.

主站蜘蛛池模板: 长岛县| 星子县| 阳西县| 盐源县| 祁连县| 灵山县| 噶尔县| 政和县| 三门县| 博罗县| 禄劝| 红桥区| 孝义市| 中西区| 行唐县| 锡林浩特市| 永康市| 阿瓦提县| 武夷山市| 顺昌县| 蒙自县| 威海市| 准格尔旗| 平湖市| 东丰县| 靖远县| 来安县| 都兰县| 白城市| 邵阳县| 山西省| 潢川县| 沾化县| 万盛区| 云龙县| 永仁县| 靖西县| 奇台县| 革吉县| 肇庆市| 策勒县|