Oracle -fetched column value truncated error

15 pts.
Tags:
ASP.NET
C#
Oracle
Oracle 9i
Oracle error messages
Hi I am using ASP.net using C# in my application which connects to Oracle 9i DB with a UTF8 character set. On of my columns in a table has datatype Nvarchar2(4000), when I try to fetch data through a Stored proecedure using execute Dataset command in C# it throws error "ORA 01406 -fetched column value truncated error " But this error does not occur if the datatype is changed to Nvarchar2(4000) Pls help Regards shweta

Answer Wiki

Thanks. We'll let you know when a new response is added.

Your before and after datatype and data width are both the same. What’s the initial and working datatype and data width?

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Shwetavyas
    before it was Nvarchar2(4000), I changed it to Nvarchar2(2000), after changing it to 2000 , it does not throw the error
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following