Home > Managing Database Objects w... > Managing Packages > Creating a Package
Previous |
Next |
To create a package:
On the Workspace home page, click SQL Workshop and then Object Browser.
Object Browser appears.
Click Create.
From the list of object types, select Package.
Select the type of package you want to create:
Specification
Body
Package with methods on database tables
If you select Specification:
Enter a name and click Next.
The wizard creates a dummy package specification and displays it for editing.
Edit the specification and click Finish.
If you select Body:
Select the package you want to create the body for and click Next
The wizard creates a package body with stubbed out calls identified in the specification and displays it for editing.
Edit the package body and click Finish.
If you select Package with methods on database tables:
Enter a name and click Next.
Select up to ten tables and click Next.
The wizard creates a specification and body with insert, update, delete, and GET APIs for the selected tables. Note that you have the option to show or download the specification or body.
Click Finish.