/**Begin D:\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\BDM_constraint.sql **/
 EXEC P_ALTERPK 'PK_BDM_EINVOICE_ACCOUNT_U', 'T_BDM_EINVOICE_ACCOUNT_U', 'FPKID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BDM_EINVOICE_ACCOUNT_U_FK') CREATE  CLUSTERED INDEX IDX_BDM_EINVOICE_ACCOUNT_U_FK ON T_BDM_EINVOICE_ACCOUNT_U ( FENTRYID );



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