Hi,
I have a Batch Macro that queries the oracle DB . The Query dynamically replaces Table names and Columns to retrieve.
I need to append the results of the query values each time the DB is queried and the result is retrieved.
But I am getting the error " Dynamic Input (3) The file "" has a different schema than the 1st file in the set."
So, I tried to write the Output to an Excel and set the option to "Append to Existing Sheet", the file is generated fine. Apart from writing to file and reading it back, is there a way that Batch macro can be made to output the appended results?
It is also to be noted that , as the number of columns vary for each table, I had passed in the parameter to the Batch that has all column names concatenated together and returned as 1 column.

Thanks,