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!

CHAR fields truncated in pro*C

394265Aug 17 2003 — edited Aug 25 2003
When using "method 4" in the Pro*C/C++ programmers' guide, all CHAR fields are turncated by one character ostensibly to make room for the null terminating character. For any field that is defined exactly as long as the data in it, I have to modify the table to add a character (i.e. 4-char fields are modified to 5-char fields) in order to get all the original characters.

Does anyone know if ths is a bug, or an error in the documentation that indicates no special treatment fo these fields?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2003
Added on Aug 17 2003
1 comment
133 views