My task basically is to dump the data in two tables into a text file. Seems simple enough but wait...

The data in both tables is fomatted differently.. such as one table has many more columns than the other, different data types and so on..

I need a script which will put the data in both tables into one text file..

The overall task is much more complicated that this but hopefully someone can start me off.

Much appreciated.