SOLVED: C API prepared insert truncates strings to 5 characters
Posted by: 7 reeds
Date: March 19, 2013 09:11AM

Sigh, I found the problem. I was reusing the variable "bufferLength" for each bind value. It was basically just using the last value supplied. A different variable for each supplied length fixed the issue.



Edited 1 time(s). Last edit at 03/19/2013 09:55AM by Peter Brawley.

Options: ReplyQuote


Subject
Views
Written By
Posted
SOLVED: C API prepared insert truncates strings to 5 characters
1342
March 19, 2013 09:11AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.