Is it possible inscribe all the packages into a single package ??

Hi,
In Oracle 10g , Is it possible inscribe all the packages into a single package ??
Because, my PM Is asking me to inscribe all the Packages into Single Package and give same reference to the .Net developers.
I have tried a lot, but i am not finding out the right solution for this ., and even i am bit confused whether is this possible or not.
Can any one please suggest me how to achieve this it it's possible in Oracle.

You mean something like...
-- First package with functions in it...
SQL> create package mypack1 as
  2    function myfunc1 return number;
  3  end;
  4  /
Package created.
-- assume a package body is created for this as well
-- Second package with functions in it...
SQL> create package mypack2 as
  2    function myfunc2 return number;
  3  end;
  4  /
Package created.
-- assume a package body is created for this as well
-- One package encompassing other packages...
SQL> create package allpacks as
  2    function myfunc1 return number;
  3    function myfunc2 return number;
  4  end;
  5  /
Package created.
SQL> create package body allpacks as
  2    function myfunc1 return number is
  3    begin
  4      return mypack1.myfunc1;
  5    end;
  6
  7    function myfunc2 return number is
  8    begin
  9      return mypack2.myfunc2;
10    end;
11  end;
12  /
Package body created.
SQL>;)

Similar Messages

  • Multiple SSIS Packages into one single package

    Hello All,
    I have created 4 SSIS Packages.
    1st package- To load data from FlatFiles to DB(MasterTable)
    2nd package- split the MasterTable into 2 different tables(ChildTable1, ChildTable2).
    3rd package- join the child table to another mastertable to get an ID column.
    4rd package - Remove the duplicates from childtables and load all the duplicates into another table.
    Is it possible to have them all in a single Package? Which is the best way to develop them in a single
    package?
    Please Help me. 
    Thanks, Shyam Reddy.

    Your approach of keeping these logical steps into separate packages suits a situation where you'd want to execute some of these steps ad-hoc or be able to restart from the point of failure onwards if the load fails mid way on a given day. However, if you
    really want to run this flow as a single, end-to-end workflow, you can create a Master package which then calls these 4 child packages in a certain order (using Execute package task). Alternatively, if you'd like to maintain one SSIS package rather than 5,
    you can simply copy individual tasks from each package (Ctr+c, Ctrl+v) into a single package and eliminate the ones you don't need. 
    Note that you might have to recreate the connection managers those individual SSIS packages were using after you copy the contents of the packages over to a single one. 
    I hope this helps!
    Cheers!
    Muqadder.

  • How to Inscribe all the error messages into a single package ??

    Hi,
    I want to Inscribe all the error messages into a single package., and call the concern package from the exception block in every sp by passing the error code to that package, which will return the Concern error message to the calling Sp.,
    Can any one help me out how to accomplish this ., ?
    regards
    Raja

    I want to Inscribe all the error messages into a single package., Why do you want to inscribe all the messages in a package?
    I would suggest you to store them in a table instead and you can write a functin to retrive the error messages required.
    But if your requirement is for 'Package' then assuming that you store all the error messages in a table 'error_table' (say) following code may help you .
    CREATE TABLE Error_Table (
      Error_Code VARCHAR2(10),
      Error_Desc VARCHAR2(1024));Now insert your error codes and descriptions in this table.
    CREATE OR REPLACE PACKAGE pkg_Error_Handler
    AS
      FUNCTION f_Get_Error_Message(p_Error_Code  Error_Table.Error_Code%TYPE) RETURN VARCHAR2;
    END pkg_Error_Handler;/
    CREATE OR REPLACE PACKAGE BODY pkg_Error_Handler
    AS
      FUNCTION f_Get_Error_Message
           (p_Error_Code  Error_Table.Error_Code%TYPE)
      RETURN VARCHAR2
      IS
        lv_Error_msg  Error_Table.Error_desc%TYPE;
      BEGIN
        BEGIN
          SELECT Error_desc
          INTO   lv_Error_msg
          FROM   Error_Table
          WHERE  Error_Code = p_Error_Code;
        EXCEPTION
          WHEN No_Data_Found THEN
            lv_Error_msg := 'No such error code '
                            ||p_Error_Code
                            ||' defined in the system';
          WHEN OTHERS THEN
            lv_Error_msg := p_Error_Code;
        END;
        RETURN lv_Error_msg;
      END f_Get_Error_Message;
    END pkg_Error_Handler;
    /and you can call this packaged funtion from any exception block to get the error description.
    Regards,
    Abhijit.
    N.B.: Code not tested

  • I want to back up an Iphone 3G and put all the content into Iphone 4. When Iphone 4 is connected to Itunes I do not get an Option to restore from Iphone 3G. IOS 3G - 4.2.1

    I want to back up an Iphone 3G and put all the content into Iphone 4. After I have backed up the Ipone 3G and then when Iphone 4 is connected to Itunes I do not get an Option to restore back up from Iphone 3G. The only devive is see in the drop down list is my Iphone 4. The IOS on Iphone 3G is 4.2.1 and on Iphone 4 is 4.1.
    Please share if anyone has any solution to such a problem.

    You will first have to update your iPhone 4 in order to restore it from the backup of your 3G. Follow the directions here:
    http://support.apple.com/kb/HT4972
    This is an erase/restore deal, so make sure all of your data is on your computer before you begin. iOS 6.1.2 will be installed on your iPhone 4.
    Once done, on your iPhone 4: Settings>General>Reset>Erase All Content & Settings. You'll now be able to restore your 3G backup to your iPhone 4.

  • I have Bose Quiet Comfort Headphones.  I am unable to insert the male end all the way into the IPAD3.  I do have sound in the headphones, however.  Is this common for most headsets on the IPAD3?

    I have Bose Quiet Comfort Headphones.  I am unable to insert the male end all the way into the IPAD3.  I do have sound in the headphones, however.  Is this common for most headsets on the IPAD3?

    No, it's not common for any of the headphonse I've plugged into my iPad, but that doesn't mean it isn't normal for this particular set of headphones and iPad.  That said, are you sure you've pushed the plug in all the way?  I have found that on my New iPad, the headphone plug requires more effort to connect the plug than on my previous iPad 2.  If they sound fine, I guess I wouldn't be concerned.  If they don't sound good, it could be an issue.

  • TS3276 Hi.  Just started using Mac Mail on a macbookpro v10.6.8.  I tried to send a message with two excel (for mac) files attached.  One attached as a file, one inserted all the text into the message body.  Help?

    Just started using my Mac Mail program instead of web mail.  When I went to attach two pdf files, one attached as a file, the other inserted all the text into the body of the email message.  How do I get it to attach both pdf's as files?

    I think you're confusing two different things. If you attached PDF files and one of them displayed the PDF icon in the message window, that means it was more than one page. If you saw what appeared to be the actual document for the other PDF file, that means it's only one page and it's normal for it to display that way.
    However, I seem to recall there may (or should) be a button at the bottom-right of the message window that allows you to display those files as icons, even if they're one page. If not, there's a third-party addition you can use to add that feature:
    http://lokiware.info/Attachment-Tamer

  • I have many thousands of songs in my itunes library. Unfortunately, most are now pointing toward .jpgs instead of the m4a files in my itunes library. Is there anyway to fix this without reimporting all the files into itunes from scratch??

    I have many thousands of songs in my itunes library. Unfortunately, most are now pointing toward .jpgs instead of the m4a files in my itunes library. Is there anyway to fix this without reimporting all the files into itunes from scratch?

    OMG...I'm glad to know I'm not the only one. Since my computer is a goner, I don't have any other way to access all that music.

  • Is there a possibility to print the filename into the picture?

    Is there a possibility to print the filenames into the picture or into the slideshow? When presenting photos to clients over Apple TV there must be a way to find the image name for ordering.
    Any ideas, I did not find anything!

    Unsure about slide show in Ap, but when printing llok for this dialogue box, it prints any metadata;
    You just need to select the more options bottom left.
    Tony

  • Why do I have to log in all the time into iCloud every time in spite of clicking the "keep me logged in" box?

    why do I have to log in all the time into iCloud every time in spite of clicking the "keep me logged in" box?

    It is amazing that Apple does nothing about this.  It used to work before but this function (keep me logged in) stopped working a couple of months ago.  Many people seem to have the same problem but Apple seems unable to solve their own problems...

  • How can I view my iCalendar on Google mail? Is it possible to import the iCalendar into the Google calendar? If so, how?

    Is it possible to import the iCalendar into the Google calendar? If so, how?

    You can certainly add your google calendar to your iPad: http://support.google.com/calendar/bin/answer.py?hl=en&answer=151674
    This will allow you to sync calendars back and forth between your iPad and Google.
    However you cannot import already existing calendars on iPad into Google from the iPad itself. 
    You would need to:
    Sync your iPad with a computer
    And then use the computer to import your calendar to Google: http://support.google.com/calendar/bin/answer.py?hl=en&answer=37118
    If you are using a Mac I can tell you how to sync the calendars to the computer and then put them on google.
    If you are using a Windows machine I would suggest you post your question in the iPad forum where the iPad experts reside: https://discussions.apple.com/community/ipad/using_ipad
    Cheers.

  • How to know all the items into a block

    Hello everybody.
    Im working with Forms and Reports 10G.
    A fast question.
    I need to know all the items into a block.
    I know that with the get_block_property first_record and Last_record I can know the first and last item into a record but
    how I can know all the others?
    Thanks in advanced and regards to all.
    Happy Cristmast

    You can the fisrt item in a block by using GET_BLOCK_PROPERTY('BLOCKNAME', FIRST_ITEM);
    then loop over the item
    LOOP
      vcItem:=GET_ITEM_PROPERTY(vcItem, NEXTITEM);
      EXIT WHEN vcItem IS NULL;
    END LOOP;

  • How to include objects of a z* package into a single request

    Hi Gurus,
    The requirement is I need to include all the objects in a z*package into one single request.One way is I find out latest version of each program and include it in request.But there are some 200 objects in the package.Is there any simple way to do it , I mean is there any option wherein I type the package name and all programs get included in the request..........
    Helpful answers will be rewarded
    Regards,
    Raghu.

    Please try this ..
    Goto SE09 ..
    Create a transport request ...
    Delete the sub-task ..
    Now place cursor on main task(request)
    click on Include objects(Ctrl+F11)
    In the popup check 'Freely selected objects' radio button .. click Ok
    Enter the package name  ... and any other parameters .. and F8 ..
    This will include all the objects in the particular package selected ..
    Then release the task ...

  • Merging all DB scripts into a single script for deployment

    Hi,
    I'm using an Oracle Database Project in Visual Studio to store single scripts for each database object, which I like a lot. What I don't know is how to merge all those scripts into a single script now that I'm ready for deployment. I would prefer to give the DBA guy a single script with all the objects and not one script per DB object.
    Is there any way to achieve this?
    Julio

    Hi,
    I'm playing with this stuff these days and Yes, there is a possibility:
    Under Visual Studio:
    Open your Database Edition Project
    Goto "Server Explorer"
    You should have previously created a connection to your Target DB.
    Open that connection. you have a collection of folders.
    Select/Open the Schema Folder, then the Tables Folder.
    Select the Tables you want to Script, right-click and select "Generate Create Script to Project".
    Enter a Scriptname and click OK
    That's all.
    Going back to your Project, you shuld find a Script into your "Script" Folder.
    The problem is that you cannot create separate Scripts when selecting multiple tables, as I stated in my Post "ODT lacks some functionnalities"
    Hope it helps
    Rgds
    P.Cury

  • Can you export the audio into a SINGLE file?

    I know I can export the individual slide audio, but can I
    export the audio for all the slides into one audio file? How?
    Thanks!

    Hi benhenny
    Sure can! Check the following link.
    Click Here
    Cheers... Rick

  • How Can I get all the values of a DBMS package?

    Hi all
    I'm using this "dbms_output.put_line(DBMS_DB_VERSION.VERSION || '.' ||DBMS_DB_VERSION.RELEASE);" to show the version. But how Can I get the all the values from DBMS_DB_VERSION ? Is there a common way ?
    Thanks .
    Best
    Laurence

    Hi,
    Don't think that's possible. Even if it were, you wouldn't be able to use/display BOOLEAN type in SQL.
    If you just aim to see what they are, you could do something like this
    select text
      from all_source
    where owner = 'SYS'
       and name = 'DBMS_DB_VERSION'
       and type = 'PACKAGE';Or even
    select dbms_metadata.get_ddl('PACKAGE', 'DBMS_DB_VERSION', 'SYS') from dual;My version is:
    SQL> select * from v$version where rownum = 1;
    BANNER                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    1 row selectedIn 11g you also have [PL/SCOPE|http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10471/adfns_plscope.htm#ADFNS02203] which might help you even more.
    Regards
    Peter

Maybe you are looking for

  • High ping on Valve servers

    Hi, Over the past month or so, ive noticed im getting a ping of over 200 on Valve servers on Team Fortess 2. For the past 2 weeks, it seemed to had settled down a little to about 70 ping, which i can play on but now its back to 200+. After starting a

  • ITunes Match will not work on new phone...

    OK my 1st iPhone 5 had some serious battery issues so I had it replaced by Apple.  On the same day I took my new phone to Best Buy to have the Zagg screen protector replaced.  Well they flooded that phone with the solution they use for adherring the

  • Acomdata 500gb External FW Drive NOT BEING RECOGNIZED!!!

    I have been running an Acomdata 500gb FW External Hard Drive for my data intensive applications such as FCP and it has been working flawlessly for about the last year... Yesterday I powered up the Mac and turned on the drive along with my external US

  • Custom Table - New Field

    Added SPART in a custom table , I am trying to retrieve an entry from that table where SPART is SPACE. This works fine in DEV, in Q system the select does not work.. What could be the reason ?

  • First mac, questions on managing external drives

    Have been using iphones, ipods, apple tv's, ipads for a long time.  Finally got my first mac (macbook air).  Hoping some people can help with a few questions on external drives, I have two nas drives on my network: - In finder each drive shows up wit