Hi guys, i have a flat file, that i would like to populate into a database. The problem is that the file format is not standard, each record differs from the other depending on the fields available. I have tried using some ETL tools but they usually expect a file in a specific format.
The file has a format similar to:
Variable 1=Blah|Variable2=2|Variable3=woot|Variable4=hoop
Variable 1=Blah|Variable2=2|Variable4=hoop|Variable5=Hive
Variable 1=Blah|Variable2=2|Variable3=woot
The portion before the = indicates which variable it is and the order in which they appear cannot be guaranteed.
Any idea how to get this done? Im sure this can be done with a scripting language like perl but dont have much experience in perl programming so if you could point me in the right direction it would be appreciated.