/**Begin D:\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
EXEC p_DropIdx 'IDX_SIM_VATINVOICE', 'T_SIM_VATINVOICE';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_VATINVOICE_CODENO') CREATE  CLUSTERED INDEX IDX_SIM_VATINVOICE_CODENO ON T_SIM_VATINVOICE ( FINVOICENO ,FINVOICECODE );


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