/**Begin D:\pdm\PDM_UPGRADE\pdm_new\BDM_constraint.sql **/
 EXEC P_ALTERPK 'PK_BDM_LQPT_OILSTOCK', 'T_BDM_LQPT_OILSTOCK', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BDM_LQPT_OILSTOCK') CREATE UNIQUE  CLUSTERED INDEX IDX_BDM_LQPT_OILSTOCK ON T_BDM_LQPT_OILSTOCK ( FNSRSBH ,FSPBM );



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