to reduce the code

Hello
Here is my code

This code uses for purposes of production,
Here, I use a dbms_output stmts much,
using the loop condition
reduces an any code below... ???



DECLARE
P_INPUTXML VARCHAR2 (8000);
CLOB P_OUTPUTXML;
P_STATUS VARCHAR2 (200);
BEGIN
P_INPUTXML: =.
' < InputParameters > < ParamSet > < / ParamSet > < / InputParameters > ';

() PAYCODE_PROCE
P_INPUTXML = > P_INPUTXML,
P_OUTPUTXML = > P_OUTPUTXML,
P_STATUS = > P_STATUS);
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 1, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 241, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 481, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 721, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 961, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 1201, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 1441, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 1681, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 1921, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 2161, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 2401, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 2641, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 2881, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 3121, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 3361, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 3601, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 3841, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 4081, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 4561, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 4801, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 5041, 240));
DBMS_OUTPUT. PUT_LINE (SUBSTR (P_OUTPUTXML, 5281, 240));
DBMS_OUTPUT. PUT_LINE ('P_STATUS =' |) P_STATUS);
END;

something like that?

  ...
  for x in 1..23 loop
    dbms_output.put_line((SUBSTR(P_OUTPUTXML, (x-1)*240+1 , 240));
  end loop;
  ...

Tags: Database

Similar Questions

  • I want to use for the next loop to reduce the code to make of removechild)

    I work if (addChild (bmp1)) - removeChild (bmp1). But I need to do it 20 times. I thought I could use a for/next loop, but this day can't do things.

    for (var i: Number = 0; i < 21;) I ++)

    {

    my_bmp. Name = "bmp" + 1;

    If (addChild (my_bmp))

    {

    removeChild (my_bmp);

    }

    }

    }

    This code from the compiler, but when I run it I get "a term is undefined and has no properties." I think it has something to do with my_bmp.name? I tried several things and just cannot break.

    The name of an object is just a string.  for the compiler to treat it as an object, you can use the getChildByName() method or even the support rating.

    removeChild (this.getChildByname (my_bmp));

    OR

    removeChild (this [my_bmp]);

    I'm guessing that you intend to use "bmp" + String (i) instead of "bmp" + 1

  • Movement of masking of the Code between environments

    I move code between home and the office, and one of the annoying problems I'm having with Dreamweaver CS3 is that when I reduce the code on 1 environment, everything is great, but once I move this code to another environment, the code of the opening page gives a long message basically "we don't know where your drop-off points are more and will just expand everything." , in essence, lose my points of fall.

    Is there a way I can include some meta data are necessary to keep the drop points between the moving code from the environments?

    Actaully, I finally found the data.  An installation by default on Windows 7, it is located in the:

    C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver9\Configuration\CodeCollapse\Cache

    It's XML stored as a .mcc (the Macromedia Code masking)?  I just save this info and move it.

    NOTE: the part of the XML file uses a full path to the files with codes of collapse in them, so you must make sure that the path between the environments are exactly the same, or it won't work.

  • Reduce the VISA code

    Dear all,

    I have a snapshot of a small part of the program. My application requires me to do a reading series for some time, I can't send all of the data in a short. That's why I broke the data in the table and sense into pieces. Can I know how can I reduce the reading series function and make the code more efficient? Maybe I need more series icon reading if data are even longer.

    Can anyone help on this? My data is an array of strings.

    Thank you!

    l

    Hello

    I hope it's useful for you.

  • I managed to reduce the font size in my sri_94@live.co.UK to the tiny size less than a block of code, it is impossible to read.

    Original title: Windows 7 Premium

    Can someone please help me with this problem, I managed to reduce the font size in my [email protected] to the tiny size less than a block of code, it is impossible to interpret, each can bring a solution please.

    First try step the control key + mouse wheel to zoom in or out.

  • How to reduce the number of COD generated files

    Hello

    Im a noob to the development of bb. IM currently using Java plug-in in eclipse to generate/sign the COD files.

    Although they work fine on the device, I could see that a number of files are generated - cod cod around 16 files as well as the jar of Jad &.

    Is there a way to reduce their numbers because most of the BB apps I've seen does not generate more than 1-2 cod files.

    Thank you

    Ravi

    each cod file contains up to 64 k (more a few optional extra). If your compiled software is 2 MB, for example, you have 33 under the Cod.

    Sometimes, the cod is bigger that necessary if the wrong kind of files are added, such as svn or cvs files. You can open the jar file and check if only the necessary files are in there.

  • I'm trying to reduce the duration of the google navigation and search boxes without any succuss. Numerious times the site was requested, but no response is the problem. I can change the size by using the line that separates the two boxes, but I only

    I added a cus 06/25/10, wanted to shorten the google search and navigation bars to see, but can't. Have re-installed the google toolbar, have chosen the version of firefox as my default tool bar and can then change the width, but when a box shortens the other if extension always fill the width of the screen. Customize toolbar doesn't give any options to reduce the width of toolbar, I am at a total loss. Would love suggestions if you have correctly fixed this.

    This has happened

    Each time Firefox opened

    is 25/06/10

    The address bar and the search bar have a flex property and take all available space.
    You can change the relative size of the two with this resizer between two bars.
    You can only do this by adding a lot of space in the view > toolbars > customize window.

    You can set a fixed width by defining the min-width and max-width for the same value.

    Add code to userChrome.css below @namespace.
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #urlbar-container {max-width:400px!important; min-width:400px!important;}
    #search-container {max-width:200px!important; min-width:200px!important;}
    

    You can choose your own values as long as the min-width and max-width for each bar have the same value.

  • How to simplify the code to generate custom error codes and messages

    I designed a vi that generates the error when any data entry is missing, it works correctly, but the problem is that I want to simplify, because it is part of the main program and its block diagram is great to use as such (I tried to use this vi as a Subvi in the main program, but that does not work correctly) so I need help to simplify the code or if there is no other better medium to generate the error message.

    Hello

    As shown in the previous example, to a different question of yours, it is always good to reduce with diagrams of huge block with repeated code.

    When you overwrite functionality even repeated several times, put it in a loop and run it to have recurrences of 4 or 5 of the same code.

    It will be evolving in the future.

    joined the vi changed for you.

    Note: when you want to simplify your program, isolate your code in functions, put each function inside a under vi.

    in your case, you can have the control to an empty string for all channels within a Subvi. build an array of strings and go through the subvi. Control in the sub that VI is that strings are empty.

    an array of Boolean output error. build your error string in another under vi. the wires together.

  • I want to convert my logic large table - multiply in a library called the faster, need some advice on the code of C.

    Hello everyone,

    In my VI, I have a code that looks like this-

    Each table is 2D size 512 by 640.  The time it takes to run this whole chain is approximately 28miliseconds. Seems fast, but I need to cut it to about 10ms.  I tried to make the tables 1 d, but saves only about 2 ms.  I even tried to cut the table 1 d in half and duplicate the code and then combine them at the end (a half-hearted attempt at optimizing multi-core) and who showed zero improvement...

    I guess my last option (please let me know if there are other options) is to compile a DLL that will do this for me.

    I'm a bit confused on how I'm supposed to implement table multiplies in C, however.

    What I do run for(;;) a loop and multiply each item one by one?  It seems that that would be much slower than anything done LabView in-house to do this multiplication of cross-checking.

    Thank you!!

    MK

    If you don't know how you would in C, I don't know why you think that move it to a DLL will make it faster. In C, you will need to either make operations sequentially in a loop for, as you mentioned, or find a library for parallelization of this operation. There is no built-in c function to multiply the tables.

    One thing you might try in your LabVIEW code is to multiply it in a loop for, where you make an addition to each iteration and store the result in a shift register. Also remember the current power of the original array into a shift register. Which should reduce the number of copies of the table you need, which can speed up to turn the code. So, you initialize it the 'sum' with the first table shift register and the shift register current electric table with the result of the subtraction (or, Alternatively, with a table of the same size, filled with 1, according to the order in which you want to do things). Multiply this table by the first multiplier, add it to the sum, and multiply the power of the original (subtraction) table, storing to the power shift register. Repeat until you are finished.

  • How can I reduce the size of an e-mail signature because I am told that it is too large, truncated?

    How can I reduce the size of an e-mail signature because I am told that it is too large, truncated?

    original title: email signatures

    How did you compose the signature?  If you have used the word or some office products, its probably loaded with unnecessary code.  In Word save as html, but use the filtered HTML and which should reduce the size.

    All you really need is the basic HTML code such as:



    This is a signature.

    Here's a picture:


    You can copy and paste that into Notepad and add some text, formatting, and images you want.

    Steve

  • Reduce the size of my backup file.

    Backing up files on my computer seems too large. I have Windows 7 and it has 298 GB in D drive and at the present time, there are 53 GB free.  The system tells me that requiere 244 Go back up, which seems excessively high.  I went through and deleted the old back ups. and the current D: file shows that it is divided into 3 things - Datat file backups: 81 GB, System image 163GB & other files 111 GB.  Any ideas how to reduce the size of the back up required?

    Hello

    1 have had modifications made to your computer before the problem occurred?

    2. do you get any error code or error message when you try to perform the action?

    Archive old files to backup in ZIP files.

    You can use Zip compressed Windows to compress backup files to save disk space, or you can perform a customized Windows backup.

    You can also check the following links and check if that helps.

    How Windows selects the files to back up?

    http://Windows.Microsoft.com/en-us/Windows7/how-does-Windows-choose-which-files-to-back-up

    Back up your files

    http://Windows.Microsoft.com/en-us/Windows7/back-up-your-files

    Back up and restore: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/back-up-and-restore-frequently-asked-questions

    I hope this information helps. Please get back to us if you have any other questions on this subject.

  • are the COD of the CAP files to .java already pre-audit or not?

    My apologies if I don't see something that is obvious to others, but it's not clear to me if the .cod files created Cap running on the .java files are already pre-audit or not.  In the development guide, it says in one place:

    When you build a project by using the BlackBerry® integrated development environment, the IDE BlackBerry compiles your source in bytecode Java® files, performs predetermination from FNIHB and creates a single .cod file and a file .jad to an application from BlackBerry® device.

    and then in another place:

    To reduce the amount of processing the device BlackBerry® performs when you load your device BlackBerry app, partly to check your classes. You can also use the Smartphone BlackBerry® Simulator to preverify .cod files.

    At the command prompt, type:
    Preverify.exe [-d] output input directory - classpath. Directory

    I could imagine review making sense if entries were fichiers.class/.jar of javac instead of the CAP, but that I'm a bit confused by the wording in the development Guide and don't see a definitive answer elsewhere.  As always, my apologies if I missed this - pointer RTFM appreciated.

    It depends on how you use the CAP.  If the entry is java files, then Yes, Cap compiles, preverifies and generates the cod files.  If before you class files or jar, then you have to preverify step before the CAP.

  • reduce the size of browserField

    Hello

    I use a browserfield to show some content on browser. The latter contains text and hyperlinks.

    It is size of default text font and zoom level is "0.0".

    Please give me any solution or the code so that I can reduce the size of the font of the text?

    Thank you best regards &...

    Use this one...

    If (DeviceInfo.getSoftwareVersion (). StartsWith ("5.0"))
    browser.displayContent (""+ Description,"" ");
    on the other
    browser.displayContent (""+ Description,"" ");

    coz its value to give different in different operating system...

    Laurent Subudhi

  • How to reduce the volume of an audio clip in CC animate to HTML5 output?

    I'm working on a presentation of 2 minutes in CC to animate. There is a voiceover track and a piece of background music, both playing for the entire animation sequence. I'm trying to reduce the level of the volume of the music track that the voice-over track is the center of attention. Unfortunately, when you select the piece of music, the Edit function is grey on in the Properties window.

    I tried to change the original music track in GarageBand, reduce the overall volume, but when imported into the document, Animate, the volume level seems to be the same as the way it replaced.

    What are the options I have to reduce the volume of the music track?

    When you import H.264 then animate on top of it, the video does not get exported. You must use something like the first to combine animation with video exported.

    For sound, look in the publication settings and adjust sound on Raw, stereo 16-bit, 44.1 KHz for the flow and the sound event.

    The noise is in the timeline of your movie, or is he played with the code? If you do anything with the code, worked for how long the entire animation will take in seconds and use it as the length of the export. If it's only the scenario animation, select the option to forward last image.

    Try a shorter export, to see if its exports ok.

    Once you have your video ready for YouTube, take the file in Adobe Media Encoder and use a high quality H.264 preset and upload this new file.

    Put this in a box 1 layer to improve the quality of the video:

    internship. Quality = "best";

  • accordion jQuery how to reduce the default Panel

    Hi I'm using the latest Dreamweaver how to reduce the Panel so that none are open when the page opens.

    mayramoca33 wrote:

    foldingType: Boolean

    By default:false

    If all the sections can be closed at the same time. To collapse the current section.

    Code examples:

    Initialize a Accordion with the collapsible option specified:

    1

    $( ".selector" ).accordion({ collapsible: true });

    Get or set the collapsible option, after init:

    1

    2

    3

    4

    5

    // getter

    var collapsible = $( ".selector" ).accordion( "option", "collapsible" );

    // setter

    $( ".selector" ).accordion( "option", "collapsible", true );

    Hi Nancy I see this

    and I click on reducible in property panel and it gives me this:

    But I can't understand how to reduce the first Panel

    http://restoring-health.NET/resources.html

    Try the following:

Maybe you are looking for

  • HP 7520

    Hello.  I followed all the advice to get a code from application of the digital display of the printer and it is never an option to print the form which gives you the ecode. I am a web enabled and connected.  Also the integrated applications do not c

  • Failure of the installation of common administration UI elements

    I try to install Windows Services for Unix 3.5 on a work computer that is running Windows XP Professional.   The installation gets there where she is "Installing WBEM components: namespce.mof.  I get an error saying "The commune Administration UI ele

  • Continually resets mode sleep and display Turn off

    original title: customization. I feel constantly reset my "sleep mode" and "Turn off display", even if I did 'never' whether on battery or plugged in, in my folder customization. How can I fix it?

  • What is called the blue spindle?

    It runs intermittently every few seconds, as if something is the treatment.How can I stop it?WHAT DO YOU CALL THIS ANIMATED ICON?

  • SNMP configuration on ASA 5520

    I was wondering if someone could provide me with basic configuration or a link to the basic configuration for the monitoring of SNMP on an ASA 5520. Thank you Chris