/**Begin D:\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_SHARERECORD' AND KSQL_COL_NAME ='FREPORTFILTER') 
 ALTER TABLE T_HRPTMC_SHARERECORD ADD (FREPORTFILTER NCLOB );
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_SHAREFILTERRANGE' AND KSQL_COL_NAME ='FUSERDISSCHEID') 
 ALTER TABLE T_HRPTMC_SHAREFILTERRANGE ADD (FUSERDISSCHEID BIGINT DEFAULT 0 NOT NULL );
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_SHAREFILTERRANGE' AND KSQL_COL_NAME ='FCONTAINSUB') 
 ALTER TABLE T_HRPTMC_SHAREFILTERRANGE ADD (FCONTAINSUB CHAR(1) DEFAULT '0' NOT NULL );

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