 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_ROLEPERM_ROLEID') CREATE INDEX IDX_ROLEPERM_ROLEID ON T_PERM_ROLEPERMDETIAL ( FROLEID );
 
 
  EXEC p_DropIdx 'IX_PERM_RD_BIZ_ENT', 'T_PERM_ROLEPERMDETIAL';