/**Begin D:\pdm\PDM_UPGRADE\pdm_new\BDM_constraint.sql **/
 EXEC P_ALTERPK 'PK_BDM_ENTERPRISE_USEDNAME', 'T_BDM_ENTERPRISE_USEDNAME', 'FENTRYID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BDM_ENTERPRISE_USEDNAME') CREATE  CLUSTERED INDEX IDX_BDM_ENTERPRISE_USEDNAME ON T_BDM_ENTERPRISE_USEDNAME ( FID );



/**End D:\pdm\PDM_UPGRADE\pdm_new\BDM_constraint.sql **/
