编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « odbc_field_scale
  • odbc_foreignkeys »
  • PHP Manual
  • ODBC 函数
  • Datatype of a field

odbc_field_type

(PHP 4, PHP 5, PHP 7)

odbc_field_type — Datatype of a field

说明

odbc_field_type ( resource $result_id , int $field_number ) : string

Gets the SQL type of the field referenced by number in the given result identifier.

参数

result_id

The result identifier.

field_number

The field number. Field numbering starts at 1.

返回值

Returns the field type as a string, or FALSE on error.

相关文章
php filepro 函数 gets the name of a fieldphp firebird/interbase 函数 get information about a fieldphp ingres 函数 get the name of a field in a query resultphp ingres 函数 test if a field is nullablephp maxdb 函数 get current field offset of a result pointerphp msql 函数 alias of msql field flagsphp msql 函数 alias of msql field lenphp mssql 函数 get the name of a fieldphp mssql 函数 seeks to the specified field offsetphp odbc 函数 toggle autocommit behaviourphp odbc 函数 fetch a result row as an associative arrayphp odbc 函数 fetch one result row into arrayphp odbc 函数 get the length precision of a fieldphp odbc 函数 别名 odbc field lenphp odbc 函数 get the scale of a fieldphp odbc 函数 datatype of a fieldphp odbc 函数 number of rows in a resultphp odbc 函数 open a persistent database connectionphp sqlite 函数 returns the name of a particular fieldphp odbc odbc 函数
关注编程学问公众号
编程学问网 湘ICP备20001732号