
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_DISTRIBPLANX_LOGID') CREATE INDEX IDX_POM_DISTRIBPLANX_LOGID ON T_POM_DISTRIBPLANX ( FLOGID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_DISTPLANSUGGEST_LOGID') CREATE INDEX IDX_POM_DISTPLANSUGGEST_LOGID ON T_POM_DISTPLANSUGGEST ( FLOGID );
