Developer Studio comes with templates to facilitate you with creating packages, procedures, functions and triggers.
These templates provide you with the basic body and syntax for creating any of the above mentioned database objects, so you
simply need to plug in your own code for customization and be up and running. The following section discusses these four
templates in detail.
To create a new package, simply right click on the node and select
, as shown below:
An SQL Interactive window will appear containing the basic syntax for creating a package.
The following screenshot displays the template in action.
To create a new procedure, simply right click on the node and select
, as shown below:
An SQL Interactive window will pop-up containing the template for creating a procedure.
The following screenshot displays this template.
To create a new function, simply right click on the node and select
, as shown below:
After this you will be presented with a basic function body, so you can plug in your
relevant logic and create your function. The following screenshot displays the template:
To create a new trigger, simply right click on the node and select
, as shown below:
You will be presented with a basic template for creating an
edb-spl trigger.
This is shown in the following screenshot:
Developer Studio now comes with integrated support for
EnterpriseDB PL Debugger which gives developers and DBA's the ability to debug stored procedures
and functions. It supports debugging in the following ways:
EnterpriseDB PL Debugger can be invoked by either:
Going to
->, or
Clicking on the icon in the toolbar.
Right clicking on the program that the user wishes
to debug and selecting the appropriate program option, e.g. for functions or for procedures.
For more information on debugging please refer to the EnterpriseDB PL Debugger chapter.
Developer Studio now comes with integrated support for
Global Break Points. Global Break Points can be set in
the following two ways.
For more information on Global Break Points please refer to the EnterpriseDB PL Debugger chapter.