how to get schema corresponding database name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramanan ram
    New Member
    • Feb 2012
    • 26

    how to get schema corresponding database name

    how to get schema corresponding database name?
    select * from v$database this query only to show current databse name ,but i need databse name corresponding schemas

    how this possible
  • rski
    Recognized Expert Contributor
    • Dec 2006
    • 700

    #2
    select * from v$database this query only to show current databse name ,but i need databse name corresponding schemas
    Do you mean you want all defined schemas? if so you can do
    Code:
    select * from dba_users;

    Comment

    • ramanan ram
      New Member
      • Feb 2012
      • 26

      #3
      your answer is ok thank u
      now the question is, i am using 3 host EX:PRMY each host contains some of dba_users ex: etrans3103,SA .i need if the host is PRMY it display all PRMY users like another host users. i need that query

      regards
      Ramanan

      Comment

      Working...