User Nodes

This section covers the following topics:

How the User Nodes Work

The User node is a child of the Users node. It represents a user in the database. If you expand the Users node, a node appears for each user selected in the Filters Tab on the Connection Dialog.

If you expand a user node, for example, HR, the database object type nodes such as Tables or Views, appear as child nodes under the HR user node.

To perform actions on a User node: right-click this node and from the menu choose the appropriate command. To view the node's properties, select the node and/or click Properties in the node's menu.

Menu Options

Menu Option Description

Edit

Opens the designer so that you can edit the node.

Query Window

Opens the query window.

Generate Create Script

Writes the user definition to a .sql file.

Generate Create Script to Project

Generates the user definition to a .sql file and adds the .sql file to an open Oracle Database Project.

If multiple objects in Server Explorer are selected, a master SQL script is created in the Oracle Database Project Scripts folder. This master script contains calls to individual child SQL scripts (one for each schema object) generated into the various schema object folders and this master script is ordered with dependencies taken into consideration.

If there are multiple open Oracle Database projects, Visual Studio prompts you to select the project to add the script to.

This operation can also be performed by dragging and dropping the Server Explorer node(s) directly onto a database project folder.

See Managing Oracle Script Files for more information.

Note: Oracle Database Project Version 2 projects are not supported. To add scripts to this project type, use Import Schema or Add Existing Item menu items on an Oracle Database Project Version 2 project folder, or use the Schema Compare tool.

Grant Debugging Privileges

Opens the Grant Debugging Privileges Dialog which grants to the user privileges neccessary for PL/SQL debugging on this computer. This menu option is only visible to users with SYSDBA privileges.

Privileges

Opens the privileges dialog.

Delete

Deletes the user selected. Disabled for the current (connected) user.

Refresh

Refreshes user properties fetched from database.

Properties

Displays the properties window.