/**Begin D:\scm_code\PDM_UPGRADE_1.3\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm2\RIM_constraint.sql **/
EXEC p_DropIdx 'IDX_RIM_INVOICE_FILE', 'T_RIM_INVOICE_FILE';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_INVOICE_FILE') CREATE  CLUSTERED INDEX IDX_RIM_INVOICE_FILE ON T_RIM_INVOICE_FILE ( FSERIAL_NO );


/**End D:\scm_code\PDM_UPGRADE_1.3\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm2\RIM_constraint.sql **/
