/**Begin D:\pdm\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_REPORTCONFIG' AND KSQL_COL_NAME ='FROWADVANCESORT') 
 ALTER TABLE T_HRPTMC_REPORTCONFIG ADD (FROWADVANCESORT VARCHAR(2000) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_REPORTCONFIG' AND KSQL_COL_NAME ='FCOLADVANCESORT') 
 ALTER TABLE T_HRPTMC_REPORTCONFIG ADD (FCOLADVANCESORT VARCHAR(2000) DEFAULT ' ' NOT NULL );

/**End D:\pdm\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/
