使用的版本是3.2.3.3,之后执行如下sql报错
SELECT DBMS_METADATA.GET_DDL('INDEX', index_name, table_owner) As ddl,index_name AS INDEX_NAME
FROM all indexes
WHERE table owner='TEST' AND table_name ='a'
提示报错
之后改了一下sql
SELECT DBMS_METADATA.GET_DDL('INDEX', index_name, table_owner) As ddl,index_name AS INDEX_NAME
FROM all indexes
WHERE table owner='TEST.a' AND table_name ='a'
这样执行就可以了