Skip to Main Content

SQL & PL/SQL

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Query all-objects from rowid returns empty

mail8mzNov 23 2021

Hello,
I am using Oracle 19, and have empty result when query all-objects based on the rowid.
Here is the query:
select * from all_objects where object_id = dbms_rowid.rowid_objects('rowidfromtable');
I got the "rowidfromtable" from via "select rowid from schema1.table1".
It should be not a permission issue, the query returns the table name for most tables under the same schema. However, i have no idea why the query returns empty for only several tables.
Thanks in advance!

Comments
Post Details
Added on Nov 23 2021
6 comments
980 views