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

Thread: wich package are wrapped

  1. #1
    Join Date
    Nov 2000
    Posts
    440

    What package are wrapped

    Is there a way to know what package in my database are wrapped.

    like a select in the data dictionnairy tables.


  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    When a package body is wrapped, its first line in the DBA_SOURCE is: "package body PACKAGE_NAME wrapped". So you can use the following query to count all your wrapped packages:

    SELECT COUNT(*) FROM dba_source
    WHERE type = 'PACKAGE BODY'
    AND line = 1
    AND INSTR(text, 'wrapped') > 0;
    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