Home > Managing Database Objects w... > Managing Procedures > Creating a Procedure
Previous |
Next |
To create a procedure:
On the Workspace home page, click SQL Workshop and then Object Browser.
Object Browser appears.
Click Create.
From the list of object types, select Procedures.
Enter a procedure name and click Next.
Define the arguments by specifying the following information (optional):
Argument Name
In/Out (the parameter mode)
Argument Type (datatype)
Default (value)
To add additional arguments, click Add Argument.
Click Next.
Enter PL/SQL block you want to use as the procedure body and click Next.
To view the previously defined arguments, click Defined Arguments.
A confirmation page appears. To view the SQL used to create the procedure, click Show SQL.
Click Finish.