I would like to know if it's possible to create a temp table inside a mapping in ODI 12C.
Any suggestions would greatly be appreciated.
I would like to know if it's possible to create a temp table inside a mapping in ODI 12C.
Any suggestions would greatly be appreciated.
You can go to Oracle Data Integrator
you can go to the target command and write the below code
create global temporary table <%=odiRef.getTable( "L" , "TARG_NAME" , "A" )%>_gtbl (t1 number,t2 varchar2(100 char))
This code creates a temp table in target oracle database, the name of the table would be "_gtbl". For example, if you have an "ABC" table then your target temp table will be "ABC_gtbl".
Notice: Be careful, if you have the same schema for both tables (source and target) in a database LKM will not appear for you and you should use IKM instead of LKM.