Skip to Main Content

Oracle Database Discussions

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!

ORA-01406 when column with TIMESTAMP datatype is fetched using oci library

997685Mar 19 2013 — edited Mar 19 2013
Hi,

I have a table which has a column with TIMESTAMP data type.
When I retrieve this column using SQLPlus, I am getting the required results.
But when I do a fetch on this column using oci library, I am getting the following error:
ORA-01406: fetched column value was truncated

Can you please help me understand why this error is thrown only when using oci library?
Is there any workaround to overcome this error?

Thanks,
Vanathi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2013
Added on Mar 19 2013
1 comment
256 views