/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BOS_constraint.sql **/


EXEC p_DropIdx 'IDX_DISFUNPERM_UDAEP', 'T_PERM_DISFUNPERM';
EXEC p_DropIdx 'IDX_PERM_DISFUNPERM', 'T_PERM_DISFUNPERM';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PERM_DISFUNPERM') CREATE INDEX IDX_PERM_DISFUNPERM ON T_PERM_DISFUNPERM ( FUSERID ,FORGID ,FDIMTYPE ,FPERMITEMID );
 

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