Monday, February 19, 2018

Mapping load to load multiple tables in one Go.





TABLES:
MAPPING LOAD * INLINE [
ID,TABLE
1,Table1
2,Table2
3,Table3
4,Table4
5,Table5
];




FOR A = 1 TO 5

let vTable = ApplyMap('TABLES',$(A));
'$(vTable)':
LOAD *;
SQL SELECT * FROM $(vTable);



Store $(vTable) into into $(vTable).QVD;

DROP TABLE $(vTable);

NEXT

1 comment:

  1. I feel one can easily look up to for more and more aspects of this because its very convenient to look at the aspects of Qlik and throw light on more database operations.

    Qlik Rest Api Connection

    ReplyDelete