/**Begin D:\software\PDM_UPGRADE\PDM1\FPM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_INNERCANCELDETAIL' AND KSQL_COL_NAME IN ('FSETTLETYPEID'))
 ALTER TABLE T_FPM_INNERCANCELDETAIL ADD (FSETTLETYPEID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_INNERCANCELDETAIL' AND KSQL_COL_NAME IN ('FCOMPANYID'))
 ALTER TABLE T_FPM_INNERCANCELDETAIL ADD (FCOMPANYID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_INNERCANCELDETAIL' AND KSQL_COL_NAME IN ('FOTHERDIMID'))
 ALTER TABLE T_FPM_INNERCANCELDETAIL ADD (FOTHERDIMID BIGINT DEFAULT 0 NOT NULL );

/**End D:\software\PDM_UPGRADE\PDM1\FPM_table.sql **/
