How many procedures in a package?

Could you tell me if there exists a limit of number of procedures and/or kbytes that a package can contain? I've got an old Oracle version 8.1.7.
Thanks!

Mark1970 wrote:
But does it mean there's not a real limit in kbytes for inserting procedures in a package?No it doesn't mean that, it means there is a limit of 64K and that this is measured in DIANA nodes, and DIANA nodes are not easy to count.
In the shared pool, a package spec, object type spec, stand-alone subprogram, or anonymous block is limited to 64K DIANA nodes.>
At theorical level I can write and compile a package og several procedures and many Mbytes?Regardless of technical limits, it is not a good idea to create code units that are as big as possible.

Similar Messages

  • Needed to know how many procedures and name of them in Schema.

    Hi All,
    I wanted to know the name of Procedures and package name in the schema .
    Can i know how many schema are there in the data base ..
    Thanks in advance
    Sachin

    SQL> column object_type format a30
    SQL> column object_name format a30
    SQL> column how_many format a15
    SQL> select object_type
      2       , object_name
      3       , to_char(row_number() over (partition by object_type order by object_name))
      4         || ' out of ' || to_char(count(*) over (partition by object_type)) how_many
      5    from user_objects
      6   where object_type in ('PACKAGE','PACKAGE BODY','PROCEDURE','FUNCTION')
      7   order by object_type, object_name
      8  /
    Can i know how many schema are there in the data base ..
    select count(*) from dba_usersRegards,
    Rob.

  • How many users in one package? How many downloads?

    Inquiry:
    I would like to know how many devices I can install my creative cloud (individual Package) in. I would like to have access to the applications from my work PC & my laptop in which I am using at home. I don't want to purchase the team or small group packages because the user is just me. In order to download the application twice, is there a certain fee or I have the priveledge of downloading the app in 3 devices just like Microsoft office?
    I appreciate the help.

    Hi there
    From the FAQ: Adobe Creative Cloud – FAQ
    Can I use the software I download from Creative Cloud on multiple computers?
    Yes, you can install and activate Creative Cloud desktop applications on two computers, regardless of operating system, for the individual associated with the Creative Cloud membership. See the product license agreements page for more information.
    Thanks
    Bev

  • Getting the metadata of procedures defined inside packages...

    Dear All,
    i want to extract the metadata for procedures and functions in my db.
    i am using the DBMS_METADATA.GET_DDL(ObjectType,ObjectName) to get the metadata of certain objects (PROCEDURES,FUNCTIONS and PACKAGE_BODY)
    however this method is not quiet usefull when my target is to get the metadata for a single procedure/function defined inside package's body', where i dont need
    the whole package body to be returned only the specific Procedure/ Function defined in it...
    it seems that the Package Body is defined as one object regardless of how many Procedures / Functions are defined in it...
    isnt there any place/repository that stores the procedures and functions defined inside a package body along with their metadata explicitly one bye one , so i can
    extract them and search them one bye one...
    Thank you
    Basem Sayej...

    The whole point about defining procedures inside package bodies is that they are private. They are only exposed to those who have the necessary privileges to view the body's source code.
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • With the online package of PS/LR, how many machines can I use this on?

    With the online package of PS/LR, how many machines can I use this on? Can I have it at work and home?

    2 Computer License http://forums.adobe.com/thread/977272

  • With one package of Adobe Creative Suite 2 and the upgrade CS5 how many computers can use it?

    With one package of Adobe Creative Suite 2 and the upgrade CS5 how many computers can use it?

    You have 2 activations and no more.
    Mylenium

  • How many recipients can be added to one enqueue procedure?

    Hi all,
    Does anybody know how many recipients can be added to one DBMS_AQ.ENQUEUE procedure?
    According to a user's guide of Advanced Quing, it seems that we can have 1000 "local queue" subscribers and/or 32 "remote database" subscribers.
    But I'm not sure this restriction is also true to the recipient list which I just declare when I enqueue messages. (I didn't do ADD_SUBSCRIBER.)
    Also, I wander what does the remote "database" mean. At first, I thought it meaned totally different database instance (we need to use DB link or something to connect it), however, it seems that we can't add more than 32 remote queue subscribers.
    I'm using 10g R2.
    Any information on this matter will be highly appreciated.
    Thanks,

    Hi,
    I think there is some confusion between users and subscriber for a queue. Subscriber which dedicatedly point to queue and users who have privilege to dequeue the message. If you are not using ADD_subscriber that means you are connecting to queues as a user with dequeue privilieges.

  • How can i create a Package to make this above procedure fit under it ??

    Hi ,
    I am going through package tutorials in Oracle , but unfortunately i couldn't able to follow :
    On Web , They simply say that Packages are used to group Procedures or Functions of similar kind .
    Could any please tell me how this is possible ??
    Assume that i have a simple Stored Procedure as shown below :
    CREATE OR REPLACE PROCEDURE emp_sel (cv_results IN OUT SYS_REFCURSOR)
    IS
    BEGIN
    DBMS_OUTPUT.PUT_LINE('Hi my First Package');
    END;
    Please help , thanks .

    package is basicly a group of procedures, functions, type definitions, etc... if you put this procedure into a package you can do this:
    a package has two parts, spec and body, spec is interface for outside and body is source code.
    create or replace package DUMMY_Pkg is
      PROCEDURE emp_sel (cv_results IN OUT SYS_REFCURSOR);
    end;
    create or replace package body DUMMY_Pkg is
      PROCEDURE emp_sel (cv_results IN OUT SYS_REFCURSOR)
      begin
         dbms_output.put_line('something');
      end;
    end;
    /

  • Does anyone know what this error code means?My itunes will not open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll."

    Does anyone know what this error code means?My itunes will not even open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll." Please let me know if your know anything! It is greatly apprecitated!

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

  • How can i find start line of any functions or procedures stored in package body?

    hi
    how can i find start line of any functions or procedures stored in package body?
    is there any way to write a query from for example user_source?
    thanks

    how can i find start line of any functions or procedures stored in package body?
    Why? What will you do differently if a procedure starts on line 173 instead of line 254?
    Tell us what PROBLEM you are trying to solve so we can help you find the best way to solve it.
    If you use PL_SCOPE that info is available in the *_IDENTIFIERS views. See 'Using PL/Scope in the Advanced Dev Doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28424/adfns_plscope.htm
    Try this simple sample code. The query is modified from that doc sample:
    -- tell the compiler to collect the info
    ALTER SESSION SET PLSCOPE_SETTINGS='IDENTIFIERS:ALL';
    -- recompile the package
    CREATE OR REPLACE package SCOTT.pack1 as
    PROCEDURE proc1;
    PROCEDURE proc2;
    END;
    CREATE OR REPLACE package BODY SCOTT.pack1 as
    PROCEDURE proc1 IS
    BEGIN
      NULL;
    END;
    PROCEDURE proc2 IS
    BEGIN
      proc1;
    END;
    PROCEDURE proc3 IS
    BEGIN
      proc1;
      proc2;
    END;
    END;
    -- query the info for the package spec
    WITH v AS (
      SELECT    Line,
                Col,
                INITCAP(NAME) Name,
                LOWER(TYPE)   Type,
                LOWER(USAGE)  Usage,
                USAGE_ID,
                USAGE_CONTEXT_ID
        FROM USER_IDENTIFIERS
          WHERE Object_Name = 'PACK1'
            AND Object_Type = 'PACKAGE'
    SELECT LINE, RPAD(LPAD(' ', 2*(Level-1)) ||
                     Name, 20, '.')||' '||
                     RPAD(Type, 20)||
                     RPAD(Usage, 20)
                     IDENTIFIER_USAGE_CONTEXTS
      FROM v
      START WITH USAGE_CONTEXT_ID = 0
      CONNECT BY PRIOR USAGE_ID = USAGE_CONTEXT_ID
      ORDER SIBLINGS BY Line, Col
    LINE,IDENTIFIER_USAGE_CONTEXTS
    1,Pack1............... package             declaration        
    2,  Proc1............. procedure           declaration        
    3,  Proc2............. procedure           declaration        
    -- query the info for the package body - change 'PACKAGE' to 'PACKAGE BODY' in the query above
    LINE,IDENTIFIER_USAGE_CONTEXTS
    1,Pack1............... package             definition         
    2,  Proc1............. procedure           definition         
    6,  Proc2............. procedure           definition         
    8,    Proc1........... procedure           call               
    10,  Proc3............. procedure           declaration        
    10,    Proc3........... procedure           definition         
    12,      Proc1......... procedure           call               
    13,      Proc2......... procedure           call               

  • How to list dependencies of stored procedure in a package in oracle

    hi gurus,
    can any body help me to solve the below issue?
    how to list dependencies of stored procedure in a package in oracle?
    advanced thanks...

    It sounds like you're going to have trouble because you're trying to track dependencies at a more fine-grained level than Oracle does (at least prior to 11g, which I know does finer-grained dependency tracking for columns, so there may be something that would help you there).
    In Oracle, the entity is the package body. The procedure within the package does not have dependencies and does not depend on anything, it is part of the package body, which does have dependencies. You can see what tables are used by the package body via DBA_DEPENDENCIES. But if you're trying to track the dependencies for a particular procedure in a package, you'd either have to manually examine the code or you'd have to write your own PL/SQL parser.
    Justin

  • How can we find out how many programs are stored in a percticular package

    Hi,
    I need to find out how many programs are stored in aperticular package.
    For example we are having one package in our project. I need to give all saved programs details into this project. How can we find this.
    Thanks in advance.

    Hi,
    From TADIR table we can find out.
    Regards,
    Jyothi CH.

  • How to execute private procedures in a package

    Hi
    I have created private procedures in a package.
    now i want to execute the private procedure. how to execute the private one

    Hi;
    Pelase see below which could be helpful for your issue:
    Private procedures in a package
    http://stackoverflow.com/questions/924490/how-do-i-execute-private-procedures-in-an-oracle-package
    Regard
    Helios

  • How to pass refcursor as input parameter to a procedure in a package

    Hi there
    Please can anybody explain me with an small example for
    passing a procedure output(output should be a refcursor) and pass that refcursor values into a procedure in a package as input parameter and this value i want to use as join condition in my procedure ie. ename=refcursor.ename like this).That my exact question is how to pass refcursor values as in parameter
    Pls suggest me with some example statements
    thanks in advance
    prasanth a.s.

    I am giving you a generic example.
    SQL> variable v_out REFCURSOR
    SQL> r
      1  DECLARE
      2  PROCEDURE TEST1(p_out OUT SYS_REFCURSOR) IS
      3  BEGIN
      4  OPEN p_out FOR SELECT EMPNO,ENAME FROM SCOTT.EMP;
      5  END;
      6  PROCEDURE TEST2(p_in IN SYS_REFCURSOR) IS
      7  v_empno NUMBER(10);
      8  v_ename VARCHAR2(30);
      9  BEGIN
    10  LOOP
    11  FETCH p_in INTO v_empno,v_ename;
    12  EXIT WHEN p_in%NOTFOUND;
    13  DBMS_OUTPUT.PUT_LINE(v_ename);
    14  END LOOP;
    15  NULL;
    16  END;
    17  BEGIN
    18     TEST1(:v_out);
    19     TEST2(:v_out);
    20* END;
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    PL/SQL procedure successfully completed.

  • How many documents are there in this Package?

    Is there an easy way to determine how many documents are in an existing Package?
    At the moment I work around it by using Search on a character pretty much guaranteed to be in them all, but I'd expect it to be a property stored somewhere?
    Acrobat Pro v8.1.2

    Apple in a press release from 2012 claimed more than 45,000 movies, but did not provide any details as to that figure. And it changes rapidly, and it would be different for each country, so unless someone went in and counted them manually in your country's iTunes Store, there won't be an accurate figure available.
    Regards.

Maybe you are looking for