I have a process that receives run_to_date from a text file and creates a large MTD dataset from DW. It then needs to be appended to an existing SAP HANA table, after deleting the old MTD data. I use the run_to_date in Dynamic Input when I build the dataset, can I use it in similar fashion to either execute a generic SQL somehow, or use it in my PreSQL statement in the Output Data?
Basically, I need to delete data from an existing table where year and month equal to the year and month of run_to_date that was input from a text file...