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!

Need Schema along with tables in Oracle

User_19BPUMar 17 2017 — edited Mar 17 2017

Hi,

I am using the below to get the list of table names in a DB:-

for i in ( select table_name from user_tables )

    loop

….

dbms_output.put_line(Table with Schema: '||i.table_name);

     

    end loop;

Here along with the table name I need to find the schema as well which I need to print, whether it is possible to get the schema from the user_tables? if not how I can append the schema ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2017
Added on Mar 17 2017
10 comments
841 views