Greetings,
I have a HANA project that exports a csv file and when I import it on a different system it creates the table definition and loads the data - perfect...however if I were a customer and I went to load the next version of my software the data gets loaded into the table again so now I have two copies of the data. I could key a column in the table definition so it wouldn't create copies of the data but what I really want the import to do is delete any existing table data then load what is in the csv file. This way if a customer added records to the table the next DU import deletes these. The table data is needed by my application and isn't customer data.
I've tried both the .hdbti and hdbtid/.hdbtim csv export/import methods. The SQL Reference Manual Data Import Export Statements shows that from SQL I can drop the table before inserting the csv data (<import_option> = REPLACE) is there anyway to do the same from importing a delivery unit?
Thanks in advance.
Steve