-- 冲销日志索引

 EXEC P_ALTERPK 'PK_T_IM_CHARGEAGAINST_LOG', 'T_IM_CHARGEAGAINST_LOG', 'FID', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CHARGEAGAINST_LOG_FCASOURCEBILLNO') CREATE INDEX IDX_CHARGEAGAINST_LOG_FCASOURCEBILLNO ON T_IM_CHARGEAGAINST_LOG ( FCASOURCEBILLNO );


 EXEC P_ALTERPK 'PK_T_IM_CHARGEAGAINST_LOG_E', 'T_IM_CHARGEAGAINST_LOG_E', 'FENTRYID', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CHARGEAGAINST_LOG_E_ID') CREATE INDEX IDX_CHARGEAGAINST_LOG_E_ID ON T_IM_CHARGEAGAINST_LOG_E ( FID );

