PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ora_commit> <ora_columnsize
Last updated: Sun, 25 Nov 2007

view this page in

ora_columntype

(PHP 4, PHP 5 <= 5.0.5)

ora_columntype — Gets the type of an Oracle result column

Description

string ora_columntype ( resource $cursor , int $column )

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

Parameters

cursor

An Oracle cursor, opened with ora_open().

column

The column number. First is 0.

Return Values

The returned type will be one of the following strings:

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

ChangeLog

Version Description
5.1.0

The oracle extension is deprecated in favor of oci8.

Notes

When using oci8 as a replacement for the deprecated oracle extension, consider using:



add a note add a note User Contributed Notes
ora_columntype
There are no user contributed notes for this page.

ora_commit> <ora_columnsize
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites