I have a table,
incassoid Amount Details
========= ====== ===============
1 1.0000 5||0.4999;7||0.0001;9||0.0500
2 2.0000 3||1.0000;15||1.0000
3 1.0000 8||1.0000
where in detail column, 5||0.4999 means 5 is a productid and 0.4999 is the money product has,what I need is to get the values from the details section and represent it in the table, It needs to loop over all the incassoid, and for each incassoid, I need the details like this, As an example for incassoid 1, it should show its detail like this,
incassoid Productid productamount amount
========= ========= ============ =========
1 5 0.4999 1
1 7 0.0001 1
1 9 0.0500 1
I am trying to find a way to parse the details section, but I am not sure how should I do this, Can some one please help me out in this.
Thanks!!!