Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
UnitedHealthcare India PVT Ltd
IN
Last activity: 29 Aug 2018 14:39 EDT
Getting unexpected characters when fetching data from blob
Hi Everybody,
When I'm fetch data from blob using DB tool using pr_read_from_stream(), I'm getting some unexpected characters (DB output:- "MAITREJ䩅AN").
When I fetch the data using report definition and check the results in tracer, I get the same value.
But when I open object using obj-open and then check the data in tracer, I don't get these unexpected characters (Output using obj-open:- "MAITREJEAN").
I have also noticed that this is happening mostly when the length of value is greater than or equal to 10. Can anyone please help me with this.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
Coforge DPA
GB
Hi
Have a look at below link :
https://collaborate.pega.com/question/few-data-elements-are-truncated-when-read-data-blob
It mentions the sporadic issue with Oracle database with UDF functions.
Regards
Bhavya
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689954000/f7151e69-7bd9-4702-be03-ebb6f0beb05f.jpg?itok=GWX3Wdig)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689954000/f7151e69-7bd9-4702-be03-ebb6f0beb05f.jpg?itok=GWX3Wdig)
CollabPartnerz
IN
Could you please increase the length and try again
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
UnitedHealthcare India PVT Ltd
IN
I tried inserting some larger values in blob
1. Value inserted:- "ABCDEFGHIJKLM"
Value returned by DB tool and Report definition:- "ABCDEFGHIJ䩋LM"
Value returned by obj-open:- "ABCDEFGHIJKLM"
2. Value inserted:- "ABCDEFGHIJKLMNOPQR"
Value returned by DB tool and Report definition:- "ABCDEFGHIJKLMNO佐QR"
So apparently, the third last character is getting changed to some random character.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
CollabPartnerz
IN
Could you please share the log info.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
UnitedHealthcare India PVT Ltd
IN
I'm not getting anything in pega logs.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
Coforge DPA
GB
Hi
What database are you using?
Regards
Bhavya
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
UnitedHealthcare India PVT Ltd
IN
Hi Bhavya,
I'm using Oracle Database.
Regards.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
UnitedHealthcare India PVT Ltd
IN
On further probing I found out that this is not happening in other environments. So most probably, there is something wrong with the way Database server was configured for this specific environment.
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
Coforge DPA
GB
Hi
Have a look at below link :
https://collaborate.pega.com/question/few-data-elements-are-truncated-when-read-data-blob
It mentions the sporadic issue with Oracle database with UDF functions.
Regards
Bhavya