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

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_FILTER' AND KSQL_COL_NAME ='FGROUPDATE') 
 ALTER TABLE T_HRPTMC_FILTER ADD (FGROUPDATE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_FILTER' AND KSQL_COL_NAME ='FENDDATE') 
 ALTER TABLE T_HRPTMC_FILTER ADD (FENDDATE BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_FILTER' AND KSQL_COL_NAME ='FBEGINDATE') 
 ALTER TABLE T_HRPTMC_FILTER ADD (FBEGINDATE BIGINT DEFAULT 0 NOT NULL );

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