Can we improve the code more far

Hi all I have the following code.
Can we improve the code most LIKELY USING FORALL or VARRAYS?
(MY VERSION OF ORACLE IS 10.2).
Thanks in advance


CREATE OR REPLACE PR_INS_TEM_EMP (M_USER_DEFINED_VALUE NUMBER OF THE PROCEDURE
NUMBER OF P_ESAL
NUMBER OF P_EDEPTNO
P_USER_ID IN VARCHAR2) IS
CURSOR C1 IS
SELECT ENO, ENAME FROM EMP WHERE ROWNUM < = M_USER_DEFINED_VALUE;
TYPE T_EMP IS TABLE C1% TYPE;
M_T_EMP T_EMP;
BEGIN
IF C1% ISOPEN THEN
CLOSE C1;
END IF;
OPEN C1;
C1 FETCH BULK COLLECT INTO M_T_EMP;
CLOSE C1;
FOR I IN 1.M_T_EMP. LAST LOOP
INSERT INTO TEMP_EMP (ENO,
ENAME,
ESAL,
EDEPT_NO,
USER_ID
)
(M_T_EMP (I). ENO,
M_T_EMP (I). ENAME,
P_ESAL,
P_EDEPTNO,
P_USER_ID
);
END LOOP;
END;

user10862473 wrote:
I expect a kind FORALL solution that I use the ORACLE 10.2 version it is not possible to use the following notation that gives PLS-00436: limitation of the implementation: cannot reference the fields in the table to LINK BULK records error.

As indicated by the error: you can not use a recording, you must use the individual tables, i.e.,.

 FORALL I in  V_ENO_ARR.first  .. V_ENO_ARR.LAST
 INSERT INTO TEMP_EMP(ENO,
 ENAME,
 ESAL,
 EDEPT_NO,
 USER_ID
 )
 (V_ENO_ARR(I),
 V_ENAME_ARR(I),
 P_ESAL,
 P_EDEPTNO,
 P_USER_ID
 );

Tags: Database

Similar Questions

  • Cannot make the code more far

    After you install adobe dreamweaver cs6 my code is too close to me, I can't move it to the left or to the right.

    Here is the image:

    check.PNG

    Yes tnx for any help

    Hey man, I disabled the back to the line and everything worked fine

  • I have a new computer because the old computer was broken. Can I use Lightroom license more far. Or the license needs to be reset?


    I have a new computer because the old computer was broken. Can I use Lightroom license more far. Or the license needs to be reset?

    The license agreement that you signed up to you to have two machines with enabled facilities.

    The option to turn off depends on which version of Lightroom, it is.  Anything older than that version 6 has no option - simply reinstall and activate if necessary.

  • How can I improve the performance of my compaq presario V2000, its very slow

    How can I improve the performance of my compaq presario V2000, its very slow!

    According to many things (specifications, you have now installed vs the programs he came originally with programs, etc.)-it may or may not work better that ever he does now.  However, in terms of nothing other than the software and others on the subject - there are some things you can do to optimize performance.

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find.  Reboot when necessary.  (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in.  Look for whatever it is you do not know using Google (or ask here.)  You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory.  This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

    Do some cleaning and dusting off this hard drive:

    You can free up disk space (will also help get rid of the things that you do not use) through the following steps:

    Windows XP should take between 4.5 and 9 GB * with * an Office suite, editing Photo software, alternative Internet browser (s), various Internet plugins and a host of other things installed.

    If you are comfortable with the stability of your system, you can delete the uninstall of patches which has installed Windows XP...
    http://www3.TELUS.NET/dandemar/spack.htm
    (Especially of interest here - #4)
    (Variant: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm )

    You can run disk - integrated into Windows XP - cleanup to erase everything except your last restore point and yet more 'free '... files cleaning

    How to use disk cleanup
    http://support.Microsoft.com/kb/310312

    You can disable hibernation if it is enabled and you do not...

    When you Hibernate your computer, Windows saves the contents of the system memory in the hiberfil.sys file. As a result, the size of the hiberfil.sys file will always be equal to the amount of physical memory in your system. If you don't use the Hibernate feature and want to reclaim the space used by Windows for the hiberfil.sys file, perform the following steps:

    -Start the Control Panel Power Options applet (go to start, settings, Control Panel, and then click Power Options).
    -Select the Hibernate tab, uncheck "Activate the hibernation", and then click OK. Although you might think otherwise, selecting never under "Hibernate" option on the power management tab does not delete the hiberfil.sys file.
    -Windows remove the "Hibernate" option on the power management tab and delete the hiberfil.sys file.

    You can control the amount of space your system restore can use...

    1. Click Start, right click my computer and then click Properties.
    2. click on the System Restore tab.
    3. highlight one of your readers (or C: If you only) and click on the button "settings".
    4 change the percentage of disk space you want to allow... I suggest moving the slider until you have about 1 GB (1024 MB or close to that...)
    5. click on OK. Then click OK again.

    You can control the amount of space used may or may not temporary Internet files...

    Empty the temporary Internet files and reduce the size, that it stores a size between 64 MB and 128 MB...

    -Open a copy of Microsoft Internet Explorer.
    -Select TOOLS - Internet Options.
    -On the general tab in the section 'Temporary Internet files', follow these steps:
    -Click on 'Delete the Cookies' (click OK)
    -Click on "Settings" and change the "amount of disk space to use: ' something between 64 MB and 128 MB. (There may be many more now.)
    -Click OK.
    -Click on 'Delete files', then select "Delete all offline content" (the box), and then click OK. (If you had a LOT, it can take 2 to 10 minutes or more).
    -Once it's done, click OK, close Internet Explorer, open Internet Explorer.

    You can use an application that scans your system for the log files and temporary files and use it to get rid of those who:

    CCleaner (free!)
    http://www.CCleaner.com/
    (just disk cleanup - do not play with the part of the registry for the moment)

    Other ways to free up space...

    SequoiaView
    http://www.win.Tue.nl/SequoiaView/

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

    Those who can help you discover visually where all space is used.  Then, you can determine what to do.

    After that - you want to check any physical errors and fix everything for efficient access"

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

    Cleaning the components of update on your WIndows XP computer

    While probably not 100% necessary-, it is probably a good idea at this time to ensure that you continue to get the updates you need.  This will help you ensure that your system update is ready to do it for you.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on the root of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update (you * NOT * use the aggressive version):
    How to reset the Windows Update components?

    Reset.

    Now that your system is generally free of malicious software (assuming you have an AntiVirus application), you've cleaned the "additional applications" that could be running and picking up your precious memory and the processor, you have authorized out of valuable and makes disk space as there are no problems with the drive itself and your Windows Update components are updates and should work fine - it is only only one other thing you pouvez wish to make:

    Get and install the hardware device last drivers for your system hardware/system manufacturers support and/or download web site.

    If you want, come back and let us know a bit more information on your system - particularly the brand / model of the system, you have - and maybe someone here can guide you to the place s x of law to this end.  This isn't 100% necessary - but I'd be willing to bet that you would gain some performance and features in making this part.

  • Where can I find the download more updated of the Windows Migration Wizard?

    Where can I find the download more updated of the Windows Migration Wizard?

    Article Apple describing the use of the Windows Migration Wizard that is located here – move your data from a Windows PC to Mac - Apple Support

    This article includes a link to the download page for the latest version and the download page is here - Migration of Windows Wizard v1.0.5.7

    It does not seem to have been updated for a couple of years and doesn't mention Windows 10. While many the most applications that are compatible with Windows 7 and 8 works perfectly under Windows 10 I can say from personal experience, if this also applies to the Windows Migration Wizard.

  • I've upgraded to IE9, how can I improve the quality of my picture of the webcam for video calls?

    I've recently updated to IE9.  The quality of my web cam image is dark and resolution of RL is unrecognizableand similar to the shadow.  How can I improve the quality of the image during video calls, for example over Skype or yahoo?   I have a Toshiba door 'ge'.

    Hello

    1. What is the number of brand and model of the computer and the webcam?

    2. What is the operating system installed on the computer?

    Try to uninstall then install web camera drivers and check if the problem is solved or not.

    Uninstall or change a program

    Note: this article applies to Windows Vista and Windows 7

    Also check out the following link:

     
    Let us know if the problem is solved or not.
  • How can I activate Windows XP after a crash when I can't read the code of computer-based product

    Also I would upgrade but I can't get into Windows because I can't read the code of the product.  I took be cleaned as I believe somehow that I caught a virus... they made a temporary activationsl, I suppose, Windows XP because they could not read the product either code.

    I would like to contact Microsoft support. Explain your situation and they should be able to deliver a readable product key. You can get the number here

  • After three days of my 3g modem works fine, I can't access the internet more because of what follows: "Error 734: the PPP Link Control Protocol was stopped.

    Last week for mobile connection, I bought a 3G modem on my laptop. After three days, works very well, I can't access the internet more because of what follows: "Error 734: the PPP Link Control Protocol was stopped. It occurs when I try to establish a Dial-Up connection.

    I searched the Internet and found a section of troubleshooting on the Microsoft Web site. However, although I have followed all the steps, the error continues. I've already uninstalled and again installed the program, does not. I use Windows Vista Home Premium.

    What should I do now?

    original title: 3 G Modem

    Hello

    I suggest you to contact your internet service provider for assistance.

  • How can I find the codes of codecs

    How can I find the codes of codecs

    Hello

    All you need is good Codec - get these if 32-bit.

    -Free - CCCP also get free of insurgents tool - has also excellent forums
    http://CCCP-project.NET/

    FFDSHOW - free
    http://sourceforge.NET/projects/ffdshow/

    Check here:

    Plug-ins for Windows Media Player
    http://www.Microsoft.com/windows/windowsmedia/player/plugins.aspx

    ---------------------------------------

    VLC needs, of no use so usually Codec as a backup when asked to support associations of files just say no.

    VLC - free
    http://www.videolan.org/VLC/

    -------------------------------------------------------------

    If 64 bits and you need codec.

    Read this 1st and go that route, or use the one below. (Vista or Windows 7)

    http://www.Vistax64.com/sound-audio/152850-Vista-codec-pack-32bit-64bit-Media-Player-codecs.html

    --------------------------------------------------------------------

    If 64-bit - can run WMP in 32 or 64 bit mode.

    Or try these: download - SAVE - go to the place where your put them RIGHT CLICK – RUN AS ADMIN.

    For 32-bit use these - OR the 32 bit ones listed above which I prefer.

    K - Lite Codec Pack 6.2.0 (or newer)
    http://www.codecguide.com/

    Use them for 64-bit:

    K - Lite Codec Pack 3.7.0 (64-bit) (or newer)
    http://www.codecguide.com/

    -------------------------------------------------------------
    You know that you use WMP 32 or 64

    Change, change or set 64 - Bit Windows Media Player 11 (WMP11) in Windows Vista x 64 as default
    http://www.mydigitallife.info/2007/01/19/switch-change-or-set-64-bit-Windows-Media-Player-11-WMP11-in-Windows-Vista-x64-as-default/

    -------------------------------------------------------------

    And you can use it when necessary because no codex is usually required.

    VideoLAN - VLC media player
    http://www.videolan.org/

    I hope this helps.

  • I just bought Adobe Acrobat Pro DC, and I can not find the 24-digit serial number. I can only find 2 codes to 19 different figures, but it will not accept them in the redemption of the student? Where can I find the codes?

    I just bought Adobe Acrobat Pro DC, and I can not find the 24-digit serial number. I can only find 2 codes to 19 different figures, but it will not accept them in the redemption of the student? Where can I find the code?

    Hi dobbynation,

    Please see this KB doc for help: redemption code help

    Let us know if you need help.

    Kind regards.

    Meenakshi

  • Hello! Can I change the code page of the site? How?

    Hello! Can I change the code page of the site? How?

    No, this is not a feature of the Muse. Muse is a home page layout application, not an application of coding.

    You can change the Muse code in Dreamweaver. But the export of next Muse will overwrite the changes.

  • I hawe a licens for Adobe Photoshop Extended cs 5. Howe can I take the licens more too a nother computer

    I hawe a licens for Adobe Photoshop Extended cs 5. Howe can I take the licens more too a nother computer

    Just download, install and activate it with your serial number.  Your license allows you to have two machines with active facilities, so if you have only one currently, then you should be able to go forward with the second without having to disable another.

    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • I can switch between the code sheet and css html, but I would like to see them both at the same time as well as the design window. Right now and can see rather the design and code html or design and css. How can I arrange to see all at the same time, of

    Hello

    My name is Ellie and I am new to Dreamweaver.

    I can switch between the code sheet and css html, but I would like to see them both at the same time as well as the design window. Right now and can see rather the design and code html or design and css. How can I arrange to see everything at the same time, design, HTML and CSS?

    Thank you

    It ends up something like that...

  • I bought photoshop 13 and element first and I can't have the code pour finalize installation, I write the code on the cover but it is always denied

    I bought photoshop 13 and element first and I can't have the code pour finalize installation, I write the code on the cover but it is always denied

    What is the error message you see when she refuses the serial number that you wrote on the cover?

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • How can I get the code to save Pixillion Image converter? [was: glory614]

    How can I get the code to save Pixillion Image converter

    It's not Adobe software.

    You will need to go to the manufacturer's Web site and get your code from them

    http://www.nchsoftware.com/ImageConverter/

Maybe you are looking for