Over a year ago, I was presented with a problem regarding the need to pull data from a text field in a table that I did not generate. Users here at Tek-Tips helped me to determine that the field is apparently a CLOB, and one user gave me a tip that helped me to pull the data out as VarBinary. Then suddenly another project blew up and I was pulled for this duration. Now, after all this time, I am asked to return to this issue with a pressing deadline.
The previous thread is thread183-1525073.
I wrote a query as suggested by gmmastros to convert the data to VarBinary, but had no luck recognizing a pattern of any sort or interpreting what I got. With the result set to 50 characters, here's an example of what is returned:
[tt]0x4D0F4C41444953544200000000410000000000000000000000000003000000000000060002004C4144495354420000000043
[/tt]
Somehow, someone stored a list of accounts and percentages in this field, which i need to pull back out to use for math. I'm at a loss as to how I can do this.
I've been reading over information on BLOBs and CLOBs, and it's only served to confuse me, because most of it seems to be focused on telling you how to create them and when, and how they work. I can't find anything to help me puzzle out how to pull data from one when you do not know what format the original data was in.
Any suggestions? If this is a lost cause, knowing that would be very helpful, as well.
Cheryl dc Kern
The previous thread is thread183-1525073.
I wrote a query as suggested by gmmastros to convert the data to VarBinary, but had no luck recognizing a pattern of any sort or interpreting what I got. With the result set to 50 characters, here's an example of what is returned:
[tt]0x4D0F4C41444953544200000000410000000000000000000000000003000000000000060002004C4144495354420000000043
[/tt]
Somehow, someone stored a list of accounts and percentages in this field, which i need to pull back out to use for math. I'm at a loss as to how I can do this.
I've been reading over information on BLOBs and CLOBs, and it's only served to confuse me, because most of it seems to be focused on telling you how to create them and when, and how they work. I can't find anything to help me puzzle out how to pull data from one when you do not know what format the original data was in.
Any suggestions? If this is a lost cause, knowing that would be very helpful, as well.
Cheryl dc Kern