combine several pl/sql in a single associative array

Hello
I use oracle 10g, can anyone suggest me how to combine several pl/sql in a single Bay.

ex:
TYPE t_array IS TABLE OF VARCHAR2 (100)
      INDEX BY BINARY_INTEGER;

   v_subnasp        pk_rules.t_array;
   v_product        pk_rules.t_array;
   v_order_type   pk_rules.t_array;
   v_combine       pk_rules.t_array;
I want to combine the data in v_subnasp, v_product, v_order_type to v_combine

DeepakDevarapalli wrote:
Sorry, I think that my question is not clear. can I move data from 3 tables on a Bay. and what is the best way. I found a way using loops.

If you declare an associative array type - loop is pretty much your only option. If you declare the nested table type, you can use operatots of type multiset:

DECLARE
   TYPE t_array IS TABLE OF VARCHAR2(100);
   v_subnasp        t_array := t_array(1);
   v_product        t_array := t_array(2);
   v_order_type     t_array := t_array(3);
   v_combine        t_array;
BEGIN
    v_combine := v_subnasp multiset union all v_product multiset union all v_order_type;
    for i in 1..v_combine.count loop
      dbms_output.put_line('Element ' || i || ' = ' || v_combine(i));
    end loop;
END;
/
Element 1 = 1
Element 2 = 2
Element 3 = 3

PL/SQL procedure successfully completed.

SQL> 

SY.

Published by: Solomon Yakobson, December 14, 2009 11:19

Tags: Database

Similar Questions

  • How to combine several pdf files into a single pdf file of document

    How to combine several pdf files into a single pdf file of the document?

    IF you use a Mac Version (I guess that even for the PC version) you and use the new handset functionality.

    1. To use Acrobat open without opening a PDF and go to file menu choose combine PDF.
    2. A small window opens
    3. Look for the files to combine
    4. Drag the window and gout.
    5. Search for the following file and repeat
    6. Drag the files to correct the order.
    7. Rename and save the PDF

    Its actually easier than using insert pages.

  • Combine several Digital Signatures in a single Document

    I have a document that I send to several people at the same time. I need these people to sign this document at the same time. Once they sign the document, it is sent to me. Makes me to have multiple copies of the same document, but with different signatures. I need to then consolidate these multiple documents into a single document with all the signatures. I tried to make it circulate and then merge the document, but it does not work. Can someone please?

    Hello

    Acrobat does not support parallel signature where several people can sign a single document at the same time. A document can only be signed sequentially where a person sign and then sends it to the next person to sign.  If you have a single document requiring multiple signatures and you need all the signatures on one page, so you have to work with a single copy. However, working with several copies of the document that you are doing now, you could consolidate each copy signed in a portfolio. If for example you have 10 signatures need your file portfolio eventually containing 10 copies signed individually of the same PDF file.

    The key is that you cannot merge files signed into a single pdf.

    I hope this helps.
    Steve

  • What is the preferred means of data transmission as a type of record between the nested table of pl/sql program or an associative array

    What is the preferred means of data transmission in the associative array of the nested table record vs

    Choose between Nested Tables and associative arrays

    The two nested tables and associative arrays (formerly index - by tables) use similar index notation, but they have different characteristics when it comes to persistence and ease of passing parameters.

    Nested tables can be stored in a column of data, but can of associative arrays. Nested tables can simplify the SQL operations where you would normally join a single-column table with a larger table.

    Associative arrays are appropriate for relatively small lookup tables where the collection can be constructed in memory whenever a procedure is called or a package is initialized. They are good for the collection of the information volume is unknown beforehand, because there is no fixed limit on their size. Their index values are more flexible, as associative array indices can be negative, can be no sequential and can use values of string instead of numbers.

    PL/SQL automatically converts between the bays of the host and the associative arrays that use values of digital keys. The most effective way to move the collections to and from the database server is to implement data values in associative arrays, and then use these associative arrays with erections in bulk (the FORALL statement or BULK COLLECT clause).

    With the help of documents and Collections of PL/SQL

    Read this:

    How to pass the record set as a parameter of the procedure.

    https://community.Oracle.com/thread/2375173?TSTART=0

  • How to combine several scanned pages into a single pdf document pdf?

    Hi, I have 7 docs individual pdf I would like to combine into one.

    never used Acrobat Pro before, but this should be simple right?

    I just updated to v 9.3.2

    plmk?

    Thank you very much!

    There are several ways to combine PDF files

    File > combine > merge files into a single PDF file, or

    Open a PDF Document > insert pages, or

    Open a PDF, view > navigation panels > pages, drag and drop new files PDF in the pages Panel.

  • I need to combine several PDF files into a single attachment on my iPhone. I subscribe to the $ 9 per month package, but I can't seem to find an option to combine the files of one attachment. Can you please help?

    I need to combine PDF files in a magnetic. I subscribe to the $ 9 per month package. Is this possible?

    Hello

    With Adobe Acrobat iOS app, we can only create PDF of it. To combine the documents, go to https://cloud.acrobat.com/combinepdf on your device browser.

    Thank you

    Abhishek

  • How to combine several PDF using PHP on Linux

    Hello

    I would like to know if there is a product from Adobe that can combine several PDF files into a single document and works under Linux? We are developing an application that uses PHP on Linux which must combine PDF files selected and would like to know if there is a tool with api (or command line interface) to allow.

    Not by Adobe, I don't think, but there are a lot of PDF libraries that can do such things, for example in Java.

  • How to combine several single pdf files into a single PDF with multiple pages?

    How to combine several single page pdf files into a PDF file with multiple pages?

    Hi Sandra,.

    You have ExportPDF subscription to Adobe not associating the files for you. It is only used to convert PDFS into different formats.

    To combine PDF you could to buy the different subscription: Pack PDF

    Let me know if you have any questions

    Kind regards

    ~ Dominique

  • Combination of several PDF Documents into a single Document

    Hello.

    I installed CutePDF Writer and GhostScript converter and I managed to "convert" a jpg to PDF then I opened MergePDF and 'merged' two PDFs into a single pdf file...

    'Exactly' what I wanted to do.

    After doing more research, I know that PDF Redirect converts files in PDF format and can merge unlimited files at a time. Does anyone know / can find out if we can split the files too.

    If PDF Redirect can convert, split, and merge 'all in one', then there is no need to use a conversion program 'and' a ' merger/split' program as I do now.

    In fact, some users were already helping me my question in the 'original' post but they no longer and is why I posted my question even once.

    Your original thread:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-windows_programs/combining-several-PDF-documents-into-one-document/8d56fde7-23f9-4fd1-9ab5-ff325aafff21?page=1

    As for your question here:

    "After more research, I know that PDF Redirect converts files in PDF format and can merge unlimited files at a time." Does anyone know / can find out if we can split the files too. »

    You will find your answers to:

    http://www.exp-systems.com/support.htm

    Ask on the forum of redirection or download the manual for more information.

    HTH

  • It is possible to combine several PDF in a single pdf file using document cloud

    I would like to combine several PDF files, which are in the clouds of Document into a single PDF file. Is it possible to do in the DC, without first download the files on my desktop computer?

    Hi jay,

    You can do this online if you have the Acrobat DC tickets or you subscription to Adobe PDF pack https://cloud.acrobat.com/combinepdf . Is not possible within the application itself.

    Kind regards
    Nicos

  • How to combine several PDF in a single

    I can't find out how to combine several PDF in a single document with Illustrator.

    Help, please!

    Brooke,

    It depends on your version.

    In older versions (one page PDF), you can

  • I have adobe reader xi and can not find the "create button" in order to combine several files into a single pdf

    I have adobe reader xi and can not find the "create button" in order to combine several files into a single pdf

    Hello

    Reader is software to view PDF' only.

    You must either a pack PDF to perform the function of thin or Acrobat.

    Reader is not the software to perform editing functions.

    Concerning

    Sukrit diallo

  • How can I combine several PDF in a single document

    How can I combine several PDF in a single document

    Hi teekbe143:

    Please visit: http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-merge-pdf-fichiers-tutoriel-ue.pdf

  • combine several single page pdf files into a new pdf file

    It is possible to combine 2 PDFs into a new pdf create a single page? I have a chart that represents a single pdf and a different PDF with other data that I would like to combine in a single page. The first pdf takes about 1/5 of a page and the other pdf is about 1/4 of a page. I can easily combine the 2 PDF in a single pdf, but it ends up a 2 page pdf. I want everything on one page.

    You can overlay a PDF on top of each other using him add watermark

    feature.

  • How can I combine several files?

    Hi, how to combine 2 cd ads in a single file in ITunes?  I have several CDs of the same artist, and I would put them all together in a single file.  Were not able to copy / paste.

    THX... RM

    It depends on what you mean by "a file" - iTunes will allow you:

    • Join the tracks that you import a CD, for example, to combine multiple items on a CD, they are represented as a song in the iTunes library
    • Group of titles in albums by properly defining the metadata tags of values in the Album, the artist (or Album artist)
    • Create playlists that you can add songs / albums from the same artist to
    • Create smart playlists that will automatically contain all the songs by one or several artists (or any other membership rule that you define).

    More details on what you are trying to achieve will determine which of these functions is appropriate for your needs.

Maybe you are looking for