Subject Re: How to get a list of columns from another select
Hi Dimitry.
Is not that. The subquery is entered at runtime in my application and then exported to a spreadsheet.

In my application there is a screen where the user can enter the query (ANY), it is exported and they only see the results but do not know the name of the column.

When exporting the query, I must get the names of the columns and also send them along with the data.