G
Guest
I am having a problem with the Oracle DataReader. The issue is that when I have a text field which has the exact same value for a particular field, the datareader is returning garbage in the second and subsequent rows for that value.
Say for instance I have a field called "Description" and in the 7th, 8th and 9th row, the value of "Description" is "Bird Dog". When I read the 7th record and examine the contents of "Description" is see "Bird Dog", but when I read and examine the contents of record 8, I see somethin like the following: "Bir\0 \0\0\0". I see the exact same "garbage" for the 9th row. When I get to the 10th row, it the value returned is what is expected.
This happens on a consistent basis accross a variety of different records being retrieved.
I have run the query in TOAD and examined the results and they are as they should be in "Toad", but when I run that same query in ADO.Net, my results are goofy.
Has anyone experienced this problem? Is there a cure?
Say for instance I have a field called "Description" and in the 7th, 8th and 9th row, the value of "Description" is "Bird Dog". When I read the 7th record and examine the contents of "Description" is see "Bird Dog", but when I read and examine the contents of record 8, I see somethin like the following: "Bir\0 \0\0\0". I see the exact same "garbage" for the 9th row. When I get to the 10th row, it the value returned is what is expected.
This happens on a consistent basis accross a variety of different records being retrieved.
I have run the query in TOAD and examined the results and they are as they should be in "Toad", but when I run that same query in ADO.Net, my results are goofy.
Has anyone experienced this problem? Is there a cure?