0

I have a string with length as 4000 and I am trying to store the same in Oracle DB column with type as VarChar(4000). The issue is that the string in not getting stored properly . This is skipping some of the characters.

Sammy
  • 336
  • 1
  • 12

1 Answers1

0

The string was actually an XML that was pretty printed. I trimmed the newlines and reformatted in notepad so that it was in a single line when word-wrapped. The oracle DB was able to store it.

So, I adjusted the length of string accordingly by keeping an eye on the no of characters. This worked for me!!

Sammy
  • 336
  • 1
  • 12