Results 1 to 6 of 6

Thread: A View Doubt

  1. #1
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    A View Doubt

    We can see code in procedure, functions and triggers using ALL_SOURCE. But How to see a query assosiated with a view?


  2. #2
    Expert Member
    Join Date
    Apr 2007
    Answers
    500

    Re: A View Doubt

    Use sys.All_views


  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: A View Doubt

    You many not have priviliges to select from All_views . Use User_views instead.


  4. #4
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: A View Doubt

    I have given the following command

    select text from all_views
    where view_name='FM_CURRENCY';

    I was able to view first two lines only. How to view entire query?


  5. #5
    Junior Member
    Join Date
    Nov 2007
    Answers
    22

    Re: A View Doubt

    you can see that in the user_views and dba_views or all_views


  6. #6
    Junior Member
    Join Date
    Nov 2007
    Answers
    22

    Re: A View Doubt

    Quote Originally Posted by krishnaindia2007 View Post
    I have given the following command

    select text from all_views
    where view_name='FM_CURRENCY';

    I was able to view first two lines only. How to view entire query?


    you just set the long parameter

    sql> set long 2000;


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact