odbc_procedures

(PHP 4, PHP 5, PHP 7)

odbc_proceduresGet the list of procedures stored in a specific data source

说明

odbc_procedures ( resource $connection_id ) : resource
odbc_procedures ( resource $connection_id , string $qualifier , string $owner , string $name ) : resource

Lists all procedures in the requested range.

参数

connection_id

ODBC 连接标识符,详见 odbc_connect()

qualifier

The qualifier.

owner

The owner. 此参数接受下列查询模式:"%" 来匹配零到多个字符,"_" 来匹配单个字符。

name

The name. 此参数接受下列查询模式:"%" 来匹配零到多个字符,"_" 来匹配单个字符。

返回值

Returns an ODBC result identifier containing the information 或者在失败时返回 FALSE.

The result set has the following columns:

  • PROCEDURE_QUALIFIER
  • PROCEDURE_OWNER
  • PROCEDURE_NAME
  • NUM_INPUT_PARAMS
  • NUM_OUTPUT_PARAMS
  • NUM_RESULT_SETS
  • REMARKS
  • PROCEDURE_TYPE