/**Begin D:\pdm\PDM_UPGRADE\pdm1\BDM_constraint.sql **/
 EXEC P_ALTERPK 'PK_BDM_DOWNLOAD_ITEM', 'T_BDM_DOWNLOAD_ITEM', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BDM_DOWNLOAD_ITEM_ID') CREATE  CLUSTERED INDEX IDX_BDM_DOWNLOAD_ITEM_ID ON T_BDM_DOWNLOAD_ITEM ( FCREATER );


 EXEC P_ALTERPK 'PK_BDM_DOWNLOAD_CENTER', 'T_BDM_DOWNLOAD_CENTER', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BDM_DOWNLOAD_CENTER_ID') CREATE  CLUSTERED INDEX IDX_BDM_DOWNLOAD_CENTER_ID ON T_BDM_DOWNLOAD_CENTER ( FAPPLICANT );



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