Hi Folks,
Any help would be greatly appreciated.
Example of data in a single field:
CLP*102861#3299003*1*42.66*42.66*0*MC*000000141450*53
Is there a way to make a query so that everything between the * and next * gets into its own field; for example:
Field1: CLP
Field2: 102861#3299003
Field3: 1
Field4: 42.66
Field5: 42.66
Field6: 0
Field7: MC
Field8: 000000141450
Field9: 53
This string referred to above is already in a table and not a flat file, I know if it was in a flat file it would be easy to just create a import script using '*' as the deliminator, but I cannot use that method for this as it is way too complex ... is there an easy way to do this with a query, keeping in mind that not each * is equal distance apart from the next * in all the rows or else I would just use a mid statement ...
Thank you very much,
Joe
Any help would be greatly appreciated.
Example of data in a single field:
CLP*102861#3299003*1*42.66*42.66*0*MC*000000141450*53
Is there a way to make a query so that everything between the * and next * gets into its own field; for example:
Field1: CLP
Field2: 102861#3299003
Field3: 1
Field4: 42.66
Field5: 42.66
Field6: 0
Field7: MC
Field8: 000000141450
Field9: 53
This string referred to above is already in a table and not a flat file, I know if it was in a flat file it would be easy to just create a import script using '*' as the deliminator, but I cannot use that method for this as it is way too complex ... is there an easy way to do this with a query, keeping in mind that not each * is equal distance apart from the next * in all the rows or else I would just use a mid statement ...
Thank you very much,
Joe