/**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 ='FFREE') 
 ALTER TABLE T_HRPTMC_REPORTCONFIG ADD (FFREE INT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_ROWFIELD' AND KSQL_COL_NAME ='FSHOWEMPTYCOL') 
 ALTER TABLE T_HRPTMC_ROWFIELD ADD (FSHOWEMPTYCOL CHAR(1) DEFAULT '0' NOT NULL );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_COLFIELD' AND KSQL_COL_NAME ='FSHOWEMPTYCOL') 
 ALTER TABLE T_HRPTMC_COLFIELD ADD (FSHOWEMPTYCOL CHAR(1) DEFAULT '0' NOT NULL );
/**End D:\pdm\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/
