/**Begin D:\d_desk\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_BDM_INV_SPLIT_RULE', 'T_BDM_INV_SPLIT_RULE', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BDM_INV_SPLIT_RULE') CREATE  CLUSTERED INDEX IDX_BDM_INV_SPLIT_RULE ON T_BDM_INV_SPLIT_RULE ( FRULECODE );



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