/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\LOG_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_LOG_ADUIT', 'T_LOG_ADUIT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_LOG_ADUIT_OPDATEAPPUSER') CREATE INDEX IDX_LOG_ADUIT_OPDATEAPPUSER ON T_LOG_ADUIT ( FOPDATE ,FBIZOBJNUMBER ,FUSERNAME );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_LOG_ADUIT_MODIFYBILLID') CREATE INDEX IDX_LOG_ADUIT_MODIFYBILLID ON T_LOG_ADUIT ( FMODIFYBILLID );



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