/**Begin D:\PDM_UPGRADE\PDM1\BRM_constraint.sql **/
 EXEC P_ALTERPK 'PK_BRM_RULEADMINORG_TMP', 'T_BRM_RULEADMINORG_TMP', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BRM_RULE_ORG') CREATE INDEX IDX_BRM_RULE_ORG ON T_BRM_RULEADMINORG_TMP ( FENTRYID ,FBASEDATAID );



/**End D:\PDM_UPGRADE\PDM1\BRM_constraint.sql **/
