Oracle DB: How to check if a sequence exists within a catalog and schema?
select * from User_Sequences where sequence_name='Foo';
ALL_SEQUENCES
has owner/schema, but does not have catalog column.
How to specify catalog and schema?
You could use the built-in jdbc method getIndexInfo.
https://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.