/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BOS_constraint.sql **/
EXEC p_AlterPK 'PK_T_PERM_OLDDATARULEENABLE', 'T_PERM_OLDDATARULEENABLE', 'FID', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PERM_OLDDATARULEENABLE') CREATE INDEX IDX_PERM_OLDDATARULEENABLE ON T_PERM_OLDDATARULEENABLE ( FMODIFIERID );
/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BOS_constraint.sql **/
