DatabaseMetaData.getProcedures
Interface Overview | Interface Members |
This Package |
All Packages
public abstract ResultSet getProcedures( String catalog,
String schemaPattern,
String procedureNamePattern ) throws SQLException
Parameters
- catalog
- a catalog name; "" retrieves those without a
catalog; null means drop catalog name from the selection criteria
- schemaPattern
- a schema name pattern; "" retrieves those
without a schema
- procedureNamePattern
- a procedure name pattern
Returns
ResultSet - each row is a procedure description
Description
Get a description of stored procedures available in a
catalog.
Only procedure descriptions matching the schema and
procedure name criteria are returned. They are ordered by
PROCEDURE_SCHEM, and PROCEDURE_NAME.
Each procedure description has the the following columns:
- PROCEDURE_CAT String => procedure catalog (may be null)
- PROCEDURE_SCHEM String => procedure schema (may be null)
- PROCEDURE_NAME String => procedure name
- reserved for future use
- reserved for future use
- reserved for future use
- REMARKS String => explanatory comment on the procedure
- PROCEDURE_TYPE short => kind of procedure:
- procedureResultUnknown - May return a result
- procedureNoResult - Does not return a result
- procedureReturnsResult - Returns a result
Exceptions
SQLException
if a database-access error occurs.
See Also
getSearchStringEscape