/**Begin D:\PDM_UPGRADE\PDM1\BOS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BD_AUTOASSIGN_RESULT', 'T_BD_AUTOASSIGN_RESULT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_AUTOASSIGNRESULT_ENTITY') CREATE INDEX IDX_BD_AUTOASSIGNRESULT_ENTITY ON T_BD_AUTOASSIGN_RESULT ( FENTITYID );

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