Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2014
    Posts
    42
    Provided Answers: 1

    Unanswered: query to get table name and its dependent objects

    Hi All,

    I need couple of queries for

    1. Query to get a TABLE and its dependent VIEW ONLY
    2. Query to get a TABLE and its dependent OBJECTS

    Thanks
    Ram

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    query DBA_DEPENDENCIES

    Code:
    SQL> desc dba_dependencies
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     OWNER                                     NOT NULL VARCHAR2(30)
     NAME                                      NOT NULL VARCHAR2(30)
     TYPE                                               VARCHAR2(18)
     REFERENCED_OWNER                                   VARCHAR2(30)
     REFERENCED_NAME                                    VARCHAR2(64)
     REFERENCED_TYPE                                    VARCHAR2(18)
     REFERENCED_LINK_NAME                               VARCHAR2(128)
     DEPENDENCY_TYPE                                    VARCHAR2(4)
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Feb 2014
    Posts
    42
    Provided Answers: 1
    Quote Originally Posted by anacedent View Post
    query DBA_DEPENDENCIES

    Code:
    SQL> desc dba_dependencies
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     OWNER                                     NOT NULL VARCHAR2(30)
     NAME                                      NOT NULL VARCHAR2(30)
     TYPE                                               VARCHAR2(18)
     REFERENCED_OWNER                                   VARCHAR2(30)
     REFERENCED_NAME                                    VARCHAR2(64)
     REFERENCED_TYPE                                    VARCHAR2(18)
     REFERENCED_LINK_NAME                               VARCHAR2(128)
     DEPENDENCY_TYPE                                    VARCHAR2(4)
    This is for Oracle , but i need for sybase ase

  4. #4
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    So why did you post that question in an Oracle forum?

  5. #5
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Quote Originally Posted by rmajeti View Post
    This is for Oracle , but i need for sybase ase
    What have you been doing the last 2 months?
    Question & answer must not be all that important.
    Is GOOGLE broken for you?
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •