Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle 8 OCI: How to get display length of selected column?
If you've programmed OCI in Oracle 7, you know that you the odescr()
function returns "dsize", that is, the maximum display size of a SELECT
list item if that item is returned as a character string.
In Oracle 8 OCI, the OCIAttrGet() function, which replaces odescr(), seems unable to return this invaluable piece of information. Do any of you know of a way to do this in Oracle 8, short of coding my own, possibly error prone logic, of figuring this out for all possible column types? Thanks. Received on Tue Sep 01 1998 - 09:57:20 CDT