Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Ilakshi Rathod : "This tool is just wonderful. I have never seen any tool for DB2. This tool provides very good features which helps in ease us work as well as quick resolution of any errors.".
Jeff Rule: "I have to tell you I am really impressed. I have never had a software company turn around a bug fix like this so fast. I have been doing database work for over 20 years and that has never happened.".

More

Add your opinion

SQL Maestro Group / Products / DB2 / DB2 Maestro / Documentation

DB2 Maestro online Help

Prev Return to chapter overview Next

Editing properties

The Parameters tab contains the list of the current Function parameters with its options. Here you can view the Name and the Type of each Function parameter and also supply a Comment for the parameter.

 

Parameters can be edited within the Parameter Editor dialog window. In order to open the dialog you should

 

open the object in its editor and the Parameters tab there;
select the parameter to edit;
press the Enter key or select the Edit Parameter item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar).
The Definition field contains the definition of the Function. Specify a string constant defining the Function here; the meaning depends on the language. It may be an internal Function name, the path to an object file, an SQL command or text in a procedural language.

 

 

Name

You can edit the Function name here. The name of the Function must be unique among all the Function names in the database.

 

Owner

The field contains the owner of the Function. By default, only the owner of an object can perform various operations with the object. In order to allow other users to operate it, privileges must be granted. (However, users that have the superuser attribute can always access any object.)

 

Comment

Specify a comment to the Function if necessary.

 

Deterministic

Check the box to indicate that the function returns the same result value whenever it is called with the same values for its arguments

 

Specific name

Provides a unique name for the instance of the procedure that is being defined. This specific name can be used when dropping the procedure or commenting on the procedure. It can never be used to invoke the procedure.

 

Data access (Contains SQL, Reads SQL data, Modifies SQL data)

Indicates the level of data access for SQL statements included in the procedure.

 

Contains SQL indicates that SQL statements that neither read nor modify SQL data can be executed by the procedure. Statements that are not supported in procedures might return a different error.

 

Reads SQL data Indicates that some SQL statements that do not modify SQL data can be included in the procedure.

 

Modifies SQL data indicates that the procedure can execute any SQL statement except statements that are not supported in procedures.

 

Dynamic result sets

Indicates the estimated upper bound of returned result sets for the procedure.

 

The description of the other External Function properties you can find in DB2 SQL Reference Volume 2.

 

To apply the changes, select the Apply Changes item in the Navigation bar or use Ctrl+F9 or Ctrl+F7 shortcut keys.

 

It is also possible to modify object properties without opening the object editor: use the Object Properties item of the popup menu of the selected object from the explorer tree.



Prev Return to chapter overview Next