Moving Data from TM1 to SQL DB
Posted: Sat Jun 27, 2015 12:45 pm
I have been working on trying to move data from TM1 to a SQL server database. The process runs successfully, however the only data that shows up in the SQL table are numerics. I cannot get any string data to show up in the SQL table.
***********************************************
Here is my Prolog TAB
DSN= 'tm1_to_sQL';
UserID = 'IDIDIDIDIDIDIDID';
Pswe = 'AAAAAAAAAAAA';
ODBCOPEN(DSN, UserID, Pswd);
************************************************
************************************************************************************************************************************************************************
Here is my Advanced Data Tab.
IF(Appian_m @='Region Code');
ODBCOutput(DSN, 'INSERT INTO dbo.EV_APPIAN ([dimension_1_number], [exportvalue_region]) VALUES ( ''' | APC_Line | ''' , ''' | Value | ''' ) ' );
ENDIF;
**************************************************************************************************************************************************************************
The only thing I can think of is there must be an issue with the syntax. It is only a 2 dimensional cube and there is no numeric data in the measure dimension. The data source shows the following element: Line = 1; Measure = Code; Value = ABC The line value shows up, but the measuer value remains blank, as it will not load. Please provide any knowledge you might have on this issue or topic. Thanks.
***********************************************
Here is my Prolog TAB
DSN= 'tm1_to_sQL';
UserID = 'IDIDIDIDIDIDIDID';
Pswe = 'AAAAAAAAAAAA';
ODBCOPEN(DSN, UserID, Pswd);
************************************************
************************************************************************************************************************************************************************
Here is my Advanced Data Tab.
IF(Appian_m @='Region Code');
ODBCOutput(DSN, 'INSERT INTO dbo.EV_APPIAN ([dimension_1_number], [exportvalue_region]) VALUES ( ''' | APC_Line | ''' , ''' | Value | ''' ) ' );
ENDIF;
**************************************************************************************************************************************************************************
The only thing I can think of is there must be an issue with the syntax. It is only a 2 dimensional cube and there is no numeric data in the measure dimension. The data source shows the following element: Line = 1; Measure = Code; Value = ABC The line value shows up, but the measuer value remains blank, as it will not load. Please provide any knowledge you might have on this issue or topic. Thanks.