Forum und email

ora_columntype

(PHP 4, PHP 5 <= 5.0.5)

ora_columntype — Gets the type of an Oracle result column

설명

string ora_columntype ( resource $cursor , int $column )

Returns the Oracle data type name of the column on the cursor .

매개변수

cursor

An Oracle cursor, opened with ora_open().

column

The column number. First is 0.

반환값

The returned type will be one of the following strings:

  • "VARCHAR2"
  • "VARCHAR"
  • "CHAR"
  • "NUMBER"
  • "LONG"
  • "LONG RAW"
  • "ROWID"
  • "DATE"
  • "CURSOR"

변경 기록

버전 설명
5.1.0

oracle 확장은 권장되지 않습니다. oci8를 사용하십시오.

주의

권장되지 않는 oracle을 대신하여 oci8를 사용할 때는 다음을 고려하십시오: