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

 EXEC p_AlterPK 'PK_T_BD_AUTOASSIGN_USEORG', 'T_BD_AUTOASSIGN_USEORG', 'FPKID', '1';
 EXEC p_DropIdx 'IDX_T_BD_AUTOASSIGN_USEORG_ID', 'T_BD_AUTOASSIGN_USEORG';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BD_AUTOASSIGN_USEORG_ID') CREATE INDEX IDX_T_BD_AUTOASSIGN_USEORG_ID ON T_BD_AUTOASSIGN_USEORG ( FENTRYID );
 
/**End D:\PDM_UPGRADE\PDM1\BOS_constraint.sql **/
