Hi Hana expert
I'm new in the world of SAP HANA...and I'm doing some exercise to improve myself with this new technology.
I've just finished the official manual writen by SAP...and now I'm doing this exercise:
I've imported 3 tables with some data about bank accounts by 3 XLS files.
First 2 tables are perfectly imported in this way...and i'll use them as DIMENSION TABLE. Not same thing for the first one. I have to create some procedures that extract column by this data stage and export it in other tables that i've created. I'll try to be clearer
I have a data-stage with K-columns. I have to extract distinct some of these column and exporting them in specific table that i've created before to use them as dimension table.
But is not finish here. In the procedure...i must use a syntax to create a primary key id for each new dimension table. So i have to populate these new table with first column filled with the key (i've read that i can create it using the comand SEQUENCE -> SAP HANA Reference: CREATE SEQUENCE) and second column filled with the data extracted by the datastage.
Someone can help me ?
What syntac can I use to extract some columns by an existing table...to export them to another and adding before a column with a primary-key ID ?