Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to obtain catalog from remote database

Varad AcharyaJul 28 2011 — edited Jul 29 2011
Hello

I am using Oracle ODBC gateway (version 11.2.0.1.0) to connect to an Intersystems Cache database. I can successfully execute a query of the kind below

select * from remote_table@cachedb

However, issuing

select * from all_tables@cachedb returns the following error

>
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Cache ODBC][State : S0002][Native Code 30]
[libcacheodbc.so]
[SQLCODE: <-30>:<Table or View not found>]
[Cache Error: <<SYNTAX>errdone+2^%qaqqt>]
[Details: <Prepare>]
[%msg: < SQL ERROR #30: Table 'SQLUSER.ALL_TABLES' not found>] {S0002,NativeErr = 30}
ORA-02063: preceding 7 lines from XXX
>

Obviously, there is no table named 'all_tables' at the remote database. I was under the impression that the 'dg4ODBC' executable would appropriately translate a query against 'all_tables','all_objects' etc into the ODBC equivalent for querying the database catalog.

How is one supposed to query the catalog at the remote database ?

Varad
This post has been answered by Kgronau-Oracle on Jul 29 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2011
Added on Jul 28 2011
4 comments
950 views