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

Thread: Search for text in all package body on database

  1. #1
    Join Date
    Apr 2001
    Location
    Congleton
    Posts
    258

    Search for text in all package body on database

    I need to search for the some text on all packages/procedures/functions in the database. How do I do this? Thanks.

  2. #2
    Join Date
    Apr 2001
    Location
    Congleton
    Posts
    258
    I have the sql - thanks.

    select name, line,type, text from dba_source
    where text like '%text....%'

  3. #3
    Join Date
    Dec 2002
    Location
    Bangalore ( India )
    Posts
    2,434
    i think u can limit the condition as u may not be wanting to see the code in SYS and SYSTEM schemas...
    funky...

    "I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."

    "Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"

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