Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Oracle 8 OCI: How to get display length of selected column?

Oracle 8 OCI: How to get display length of selected column?

From: Grange man <nojunk_at_email.com>
Date: Tue, 01 Sep 1998 09:57:20 -0500
Message-ID: <35EC0B50.F38B628B@email.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US