/**Begin D:\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_CALREFFIELD' AND KSQL_COL_NAME ='FSEQ') 
 ALTER TABLE T_HRPTMC_CALREFFIELD ADD (FSEQ INT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HRPTMC_CALREFFIELD' AND KSQL_COL_NAME ='FREFCALFIELDID') 
 ALTER TABLE T_HRPTMC_CALREFFIELD ADD (FREFCALFIELDID BIGINT DEFAULT 0 NOT NULL );
 --- drop column --------- 不允许删除表T_HRPTMC_CALREFFIELD的字段FBASEDATAID，请恢复pdm中的字段 ------------------- 

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