odbc_procedurecolumns

(PHP 4, PHP 5, PHP 7)

odbc_procedurecolumnsRetrieve information about parameters to procedures

˵��

odbc_procedurecolumns ( resource $connection_id ) : resource
odbc_procedurecolumns ( resource $connection_id , string $qualifier , string $owner , string $proc , string $column ) : resource

Retrieve information about parameters to procedures.

����

connection_id

ODBC ���ӱ�ʶ������� odbc_connect()��

qualifier

The qualifier.

owner

The owner. �˲����������в�ѯģʽ��"%" ��ƥ���㵽����ַ���"_" ��ƥ�䵥���ַ���

proc

The proc. �˲����������в�ѯģʽ��"%" ��ƥ���㵽����ַ���"_" ��ƥ�䵥���ַ���

column

The column. �˲����������в�ѯģʽ��"%" ��ƥ���㵽����ַ���"_" ��ƥ�䵥���ַ���

����ֵ

Returns the list of input and output parameters, as well as the columns that make up the result set for the specified procedures. Returns an ODBC result identifier ������ʧ��ʱ���� FALSE.

The result set has the following columns:

  • PROCEDURE_QUALIFIER
  • PROCEDURE_OWNER
  • PROCEDURE_NAME
  • COLUMN_NAME
  • COLUMN_TYPE
  • DATA_TYPE
  • TYPE_NAME
  • PRECISION
  • LENGTH
  • SCALE
  • RADIX
  • NULLABLE
  • REMARKS

The result set is ordered by PROCEDURE_QUALIFIER, PROCEDURE_OWNER, PROCEDURE_NAME and COLUMN_TYPE.