Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : Oracle Functions [deprecated] : ora_columnsize

ora_columnsize

Returns the size of an Oracle result column (PHP 4, PHP 5 <= 5.0.5)
int ora_columnsize ( resource cursor, int column )

Returns the size of a column on the cursor.

Parameters

cursor

An Oracle cursor, opened with ora_open().

column

The column number. First is 0.

Return Values

Returns the size as an integer, or FALSE on error.

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:

oci_field_size()

Code Examples / Notes » ora_columnsize

jjuffermans

ora_columnsize (probably) returns the number of bytes per row/column. If you want the precision and scale for NUMBER columns, have a look at the oracle system database "user_tab_columns". It shows some other usefull information too.

Change Language


Follow Navioo On Twitter
ora_bind
ora_close
ora_columnname
ora_columnsize
ora_columntype
ora_commit
ora_commitoff
ora_commiton
ora_do
ora_error
ora_errorcode
ora_exec
ora_fetch_into
ora_fetch
ora_getcolumn
ora_logoff
ora_logon
ora_numcols
ora_numrows
ora_open
ora_parse
ora_plogon
ora_rollback
eXTReMe Tracker