/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_constraint.sql **/
EXEC p_DropIdx 'IDX_BOTP_BILLTRACKER_TID', 'T_BOTP_BILLTRACKER';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BOTP_BILLTRACKER_TID') CREATE INDEX IDX_BOTP_BILLTRACKER_TID ON T_BOTP_BILLTRACKER ( FTBILLID ,FTTABLEID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BOTP_BILLTRACKER_SID') CREATE INDEX IDX_BOTP_BILLTRACKER_SID ON T_BOTP_BILLTRACKER ( FSBILLID ,FSTABLEID );



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