A procedure is a subprogram that performs a specific action. You can use Object Browser to view, create, edit, download, and drop procedures.
See Also:
Select a procedure from the Object Selection pane and view different reports about the procedure.
To browse a procedure:
Alternative views available when viewing a procedure in Object Browser.
Table 2-8 describes all available reports for procedures.
Table 2-8 Available Views for Procedures
View | Description |
---|---|
Code |
(Default) Displays the source code for the procedure. You can edit the code in this view. Actions you can perform in this view include:
|
Dependencies |
Displays objects that use (or depend) on the current procedure and objects the procedure depends on. |
Errors |
Lists errors related to the current procedure. |
Grants |
Lists details of grants for the current procedure, including privilege, grantee, grantable, grantor, and object name. |
See Also:
When you edit a procedure you can edit the code manually or perform a search and replace.
If you edit and make changes to a view, you must compile to save your changes.
There is no save function because this is just a view of the object within the database.
To compile a procedure:
Select a procedure from the Object Selection pane and click Download Source to save the current procedure as a file.
To download a procedure: