DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: sql plus

  1. #1
    Join Date
    Jan 2001
    Posts
    14

    Question

    Hi , a small question. How will you see the scripts of stored procedure which has been created already.
    Is it like

    Select from user_objects?

    thanks,
    satheesh

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    No, for source code of PL/SQL objects look at USER_SOURCE (ALL_SOURCE/DBA_SOURCE).

    Something like:

    SELECT text FROM dba_source
    WHERE owner = 'USER_A' AND type = 'PROCEDURE' AND name = 'PROCEDURE_A'
    ORDER BY line;

    HTH,
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

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


Click Here to Expand Forum to Full Width