/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BASE_constraint.sql **/
 EXEC P_ALTERPK 'PK_BD_TAXCATEGORY_AREA', 'T_BD_TAXCATEGORY_AREA', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BD_TAXCATEGORY_AREA' AND KSQL_INDNAME = 'IDX_BD_TAXCATEGORY_AREA_FK') CREATE INDEX IDX_BD_TAXCATEGORY_AREA_FK ON T_BD_TAXCATEGORY_AREA ( FID );


/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BASE_constraint.sql **/
