Export from TM1 to Oracle
Posted: Mon Feb 11, 2013 2:49 pm
Hi,
Currently we are exporting tm1 data to oracle via ODBC. It works but it seems a little slow.
1. Can we use OLEDB? If yes,
2. What would need to be installed from a TM1 perspective (if anything)
3. What would need to be installed from a Oracle Client perspective (if anything).
4. What would the TI code look like?
Here is a snippet of the code we're currently using from the Data tab.
#=============================== Send the value to the ODBC Output ==========================
sSQL = 'INSERT INTO ' | sTableName | ' (VERSION , VERSION_DESC_EN , VERSION_DESC_FR, CURRENT_BUDGET_FLAG, CURRENT_FORECAST_FLAG, LAST_ACTUALIZED_PERIO
D, LAST_ACTUALIZED_YEAR) VALUES ( '''| elmName |''', '''| sDescEN |''', '''| sDescFR |''' , '''| sCurrentBudgetFlag |''' , '''| sCurrentForecastFlag
|''' , '| sLastActualizedFP |' , '| sLastActualizedFY |' );' ;
ODBCOutput(sSource, sSQL );
Thanks
J.
Currently we are exporting tm1 data to oracle via ODBC. It works but it seems a little slow.
1. Can we use OLEDB? If yes,
2. What would need to be installed from a TM1 perspective (if anything)
3. What would need to be installed from a Oracle Client perspective (if anything).
4. What would the TI code look like?
Here is a snippet of the code we're currently using from the Data tab.
#=============================== Send the value to the ODBC Output ==========================
sSQL = 'INSERT INTO ' | sTableName | ' (VERSION , VERSION_DESC_EN , VERSION_DESC_FR, CURRENT_BUDGET_FLAG, CURRENT_FORECAST_FLAG, LAST_ACTUALIZED_PERIO
D, LAST_ACTUALIZED_YEAR) VALUES ( '''| elmName |''', '''| sDescEN |''', '''| sDescFR |''' , '''| sCurrentBudgetFlag |''' , '''| sCurrentForecastFlag
|''' , '| sLastActualizedFP |' , '| sLastActualizedFY |' );' ;
ODBCOutput(sSource, sSQL );
Thanks
J.