Can we create procedure for views in Oracle data integrator 11g ? As I am aware of procedure in Oracle Data Integrator (ODI) to create and populate a relational table.
Can any one suggest me.Thanks in advance.
Can we create procedure for views in Oracle data integrator 11g ? As I am aware of procedure in Oracle Data Integrator (ODI) to create and populate a relational table.
Can any one suggest me.Thanks in advance.
You can create an ODI procedure and add a new step. In the Properties pane for that step, expand Target Command and choose the Technology of you database (for instance Oracle) and select the right Logical Schema. Then in the Command box you can type your SQL query :
Make sure the schema used for connexion in the dataserver has INSERT privilege on AIF_OPEN_INTERFACE.
If the source data is coming from another dataserver, you will need to use a different approach to move the data from source to target dataserver. One of them is to use the query you posted in comment for the Target command, and a Select on the view for the Source Command. Target Command :
Source Command:
However, I would recommend using an interface instead of a Procedure. You can reverse-engineer your view into the ODI model and use it as a source in an interface.
Alternatively, you can use an interface with the IKM SQL as a Source. It becomes interesting if you reuse the same query in more than one mapping. You can find more information and a download link here : https://blogs.oracle.com/warehousebuilder/entry/odi_11g_simple_flexible_powerful