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

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