+ ",ind.RDB$UNIQUE_FLAG AS UNIQUE_FLAG"
<BUG>+ ",cast(ind.RDB$INDEX_NAME as varchar(31)) as INDEX_NAME"
</BUG>
+ ",ise.rdb$field_position + 1 as ORDINAL_POSITION"
<BUG>+ ",cast(ise.rdb$field_name as varchar(31)) as COLUMN_NAME"
</BUG>
+ ",ind.RDB$EXPRESSION_SOURCE as EXPRESSION_SOURCE"
+ ",ind.RDB$INDEX_TYPE as ASC_OR_DESC "
+ "FROM "
+ "rdb$indices ind "

+ ",ind.RDB$UNIQUE_FLAG AS UNIQUE_FLAG"
+ ",cast(ind.RDB$INDEX_NAME as varchar(" + OBJECT_NAME_LENGTH + ")) as INDEX_NAME"
+ ",ise.rdb$field_position + 1 as ORDINAL_POSITION"
+ ",cast(ise.rdb$field_name as varchar(" + OBJECT_NAME_LENGTH + ")) as COLUMN_NAME"
+ ",ind.RDB$EXPRESSION_SOURCE as EXPRESSION_SOURCE"
+ ",ind.RDB$INDEX_TYPE as ASC_OR_DESC "
+ "FROM "
+ "rdb$indices ind "
