db2_procedure_columns
(PECL ibm_db2:1.0-1.6.2)
db2_procedure_columns — Returns a result set listing stored procedure parameters
설명
Returns a result set listing the parameters for one or more stored procedures.
매개변수
- connection
-
A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
- qualifier
-
A qualifier for DB2 databases running on OS/390 or z/OS servers. For other databases, pass NULL or an empty string.
- schema
-
The schema which contains the procedures. This parameter accepts a search pattern containing _ and % as wildcards.
- procedure
-
The name of the procedure. This parameter accepts a search pattern containing _ and % as wildcards.
- parameter
-
The name of the parameter. This parameter accepts a search pattern containing _ and % as wildcards. If this parameter is NULL, all parameters for the specified stored procedures are returned.
반환값
Returns a statement resource with a result set containing rows describing the parameters for the stored procedures matching the specified parameters. The rows are composed of the following columns:
Column name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
PROCEDURE_CAT | The catalog that contains the procedure. The value is NULL if this table does not have catalogs. | ||||||||
PROCEDURE_SCHEM | Name of the schema that contains the stored procedure. | ||||||||
PROCEDURE_NAME | Name of the procedure. | ||||||||
COLUMN_NAME | Name of the parameter. | ||||||||
COLUMN_TYPE |
An integer value representing the type of the parameter:
|
||||||||
DATA_TYPE | The SQL data |