/**Begin D:\datamodel\imc\1.5\main\rim\pdm\20210602\RIM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_RIM_EXPENSE_RELATION' AND KSQL_COL_NAME ='FENTITYID') 
 ALTER TABLE T_RIM_EXPENSE_RELATION ADD (FENTITYID NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_RIM_EXPENSE_RELATION' AND KSQL_COL_NAME ='FVIEW_PAGE') 
 ALTER TABLE T_RIM_EXPENSE_RELATION ADD (FVIEW_PAGE NVARCHAR(50) DEFAULT ' ' NOT NULL );

/**End D:\datamodel\imc\1.5\main\rim\pdm\20210602\RIM_table.sql **/
