/**Begin D:\software\PDM_UPGRADE\PDM1\FPM_constraint.sql **/
EXEC P_ALTERPK 'PK_T_FPM_INSPECT_LOG_NOTIFY', 'T_FPM_INSPECT_LOG_NOTIFY', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FPM_INSPECT_LOG_NOTIFY') CREATE INDEX IDX_FPM_INSPECT_LOG_NOTIFY ON T_FPM_INSPECT_LOG_NOTIFY ( FID );


EXEC P_ALTERPK 'PK_T_FPM_INSPECTION_NOTIFY', 'T_FPM_INSPECTION_NOTIFY', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FPM_INSPECTION_NOTIFY') CREATE INDEX IDX_FPM_INSPECTION_NOTIFY ON T_FPM_INSPECTION_NOTIFY ( FID );



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