/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MAL_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_MAL_APIMESSAGE', 'T_MAL_APIMESSAGE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MAL_APIMESSAGE_FMSGID') CREATE INDEX IDX_MAL_APIMESSAGE_FMSGID ON T_MAL_APIMESSAGE ( FMSGID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MAL_APIMESSAGE_FMSGTIME') CREATE INDEX IDX_MAL_APIMESSAGE_FMSGTIME ON T_MAL_APIMESSAGE ( FMSGTIME );



/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MAL_constraint.sql **/
