IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_PERM_ADMINGROUPFUNPERM' AND KSQL_INDNAME = 'IDX_PERM_ADMINGRPFUNPERM_GRP') CREATE INDEX IDX_PERM_ADMINGRPFUNPERM_GRP ON T_PERM_ADMINGROUPFUNPERM ( FUSERGROUPID );
