/**Begin D:\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\BDM_constraint.sql **/
 EXEC P_ALTERPK 'PK_BDM_LQPT_SANDBOX_SUB', 'T_BDM_LQPT_SANDBOX_SUB', 'FDETAILID', '0';

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


 EXEC P_ALTERPK 'PK_BDM_SANDBOX_REQ_ITEM', 'T_BDM_SANDBOX_REQ_ITEM', 'FENTRYID', '0';

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



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