Hi,
Saw your reply on the above post.
I have been facing similar issue.
Please help me..
As suggested by you, insert the data into temp table and then do SELECT *.
Now my problem is when i do SELECT * from temp table and export my data into some flat file i am unable to get column header.
so please tell me how to map dynamic column header with flat file export.
I believe you must be having answer of this 🙂
Regards,
Deepika