Adding parameters to a stored procedure
Use the Add Parameter window to add parameters to a stored procedure.
To add a parameter:
-
Specify a name for the parameter in the Parameter
name field. The name can be a 1-8 character string.
-
Select a type from the Parameter
type list:
-
To specify parameter
characteristics:
-
Type values in the required fields:
-
Length
-
If you select CHAR, CHARACTER, VARCHAR, GRAPHIC, or VARGRAPHIC, then this
field is available.
-
Precision
-
If you select DEC or DECIMAL, then this field is available.
-
Scale
-
If you select DEC or DECIMAL, then this field is available.
-
If you select DEC or DECIMAL, specify a data
type:
-
To specify how applications use the parameter, select one of the radio
buttons under IN/OUT:
- Click OK.