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

Thread: View for Package SYntax HELP!!!

  1. #1
    Join Date
    Oct 2000
    Posts
    56
    Help!! I need to recreate a package on different instance, but i don't know what the view that will give me the coding for the package...

    Thanks

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    USER_/ALL_/DBA_SOURCE

    SELECT text FROM user_source
    WHERE name = 'MY_PACK'
    AND type = 'PACKAGE'
    ORDER BY line;

    SELECT text FROM user_source
    WHERE name = 'MY_PACK'
    AND type = 'PACKAGE BODY'
    ORDER BY line;
    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