Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2011
    Posts
    2

    Unanswered: SQL Query - User_VIEWS

    I have created a view based on a table e (which is a small identifier alternative for the table abc.employee).

    select * from abc.employee;
    SQL> select * from e;

    FNAME M LNAME SSN BDATE
    --------------- - --------------- --------- ---------
    ADDRESS S SALARY SUPERSSN D
    ------------------------------ - ---------- --------- -
    James E Borg 888665555 10-NOV-37
    450 Stone, Houston, TX M 55000 1

    Franklin T Wong 333445555 08-DEC-55
    638 Voss, Houston, TX M 40000 888665555 5



    How can I query the user_views DD view and display view's name and current status?


    Appreciate your help...

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >How can I query the user_views DD view and display view's name and current status?

    SELECT VEIW_NAME FROM USER_VIEWS;

    I do not understand what is meant by "status".
    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
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,509
    are you sure that e is a view and not a synonym. type

    Select owner,object_type
    from all_objects
    where object_name = 'S';
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

Posting Permissions

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