Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQLFetch returns 0 bytes for decimal data

522903Jul 12 2006 — edited Sep 12 2006
If my application binds decimal columns as SQL_C_CHAR, then I get the data just fine.

But if I bind the decimal columns as SQL_C_NUMERIC and allocate enough room for the SQL_NUMERIC_STRUCT structure, when I issue the SQLFetch for the data, the length returned for the column is 0.

I have no such trouble with, say, the DataDirect ODBC drivers, but I do with Oracle's ODBC drivers.

Any help in this area would be appreciated.

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2006
Added on Jul 12 2006
1 comment
2,060 views