/**Begin C:\Users\rd_zhixiong_w\Downloads\PDM_UPGRADE\PDM1\TM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TM_BUSINESSBILL_E' AND KSQL_COL_NAME IN ('FPREMIUM_PL_FQ'))
 ALTER TABLE T_TM_BUSINESSBILL_E ADD (FPREMIUM_PL_FQ NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TM_BUSINESSBILL_E' AND KSQL_COL_NAME IN ('FPREMIUM_PL_EXRATE'))
 ALTER TABLE T_TM_BUSINESSBILL_E ADD (FPREMIUM_PL_EXRATE DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TM_BUSINESSBILL_E' AND KSQL_COL_NAME IN ('FPREMIUM_PL'))
 ALTER TABLE T_TM_BUSINESSBILL_E ADD (FPREMIUM_PL DECIMAL(23,10) DEFAULT 0 NOT NULL );

/**End C:\Users\rd_zhixiong_w\Downloads\PDM_UPGRADE\PDM1\TM_table.sql **/
