get the error when you use the TRIM method in the collections

Hi Experts,

When you use the TRIM method I get below error. I make any mistake here?

DB: Oracle 11g

SQL > declare

2

emp_tab of type 3 is the employee table % rowtype index directory.

4 l_emp_tab emp_tab;
5

6 start

7

8 select * bulk collect into l_emp_tab of employees;

9 l_emp_tab.trim (5);

10 dbms_output.put_line (l_emp_tab.count);

11

12 end;

13.

l_emp_tab. Trim (5);

*

ERROR on line 9:

ORA-06550: line 9, column 2:

PLS-00306: wrong number or types of arguments in the call to 'TRIM '.

ORA-06550: line 9, column 2:

PL/SQL: Statement ignored

Thanks in advance for your help.

See you soon,.

Suri

For PL/SQL collections "index by" you cannot use the TRIM function. If your collection statement excludes the portion "index of...» ", then you can.

Gerard

Tags: Database

Similar Questions

  • I get this error when you use the app in windows 10. Error 16

    Hello

    Sorry for the late reply!

    Please close Acrobat and then open Acrobat as run as administrator.

    Or you can also check: https://helpx.adobe.com/creative-cloud/kb/configuration-error-cs5.html

    Let us know if you still have problems!

  • VISA: (Hex 0xBFFF001) timeout expired before the operation is complete. I get this error when you run a VI (instrument is set up to be controlled remotely using the TCP/IP Protocol)

    VISA: (Hex 0xBFFF001) timeout expired before the operation is complete. I get this error when you run a VI (instrument is set up to be controlled remotely using the TCP/IP Protocol)

    Please suggest a solution.

    Thank you very much, it worked!

  • Get 800b0100 error when you try to install the update KB905866 (Mail filter spam for x 64 systems) in Vista

    Get 800b0100 error when you try to install the update KB905866 (Mail filter spam for x 64 systems). It keeps failing even though I followed the steps all the recommended (in aid) and installed some other stuff.  Tried several times but nothing helped.  I saw a recommendation to install a Wups2.dll file but do not know if I should do it because the recommendation is for Windows XP and I have Vista Home.

    Hello

    I suggest check the link below and try do a SFC (System File Checker) scan and check if it helps.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    I would also say that you reset Windows update components and check if this may help.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

  • BlackBerry smartphones, I get an error when you try to connect to my world because of the r...

    I get an error when you try to connect to my world because of verizon replacement phones

    Hello!

    Your request should be sent as follows. Go to this address:

    and complete the form. Use, in the "Please select a component:"on the ground, AppWorld billing/payment selection. " Any other setting routera simply anonymously you on these public forums. Don't forget to also include the reason why you have exceeded your maximum eligible PIN associations to AppWorld (for example, several RMA, warranty replacement, etc..). If you do not have an "order number" for that field, just use whatever it is (for example, '123456').

    If the shape responds by telling you that your PIN is not valid, please report this fact back here also there is a path separate resolution for this problem.

    If this does not work, then please come back on these forums (http://supportforums.blackberry.com/rim/) and create an account so that we can provide direct assistance.

    See you soon!

  • Why I get this message when you use the magnetic lasso tool: "WARNING: no pixel is selected to more than 50 percent."  The edges of the selection will be not visible. ?

    Why I get this message when you use the magnetic lasso tool: "WARNING: no pixel is selected to more than 50 percent."  The edges of the selection will be not visible. ?

    See here:

    WARNING: no pixel is selected more than 50%

  • Windows7 64 I get C646 error when you try to install KB982331

    In Windows7 64 I get C646 error when you try to install the update of security KB982331.  I tried Windows update and download it directly.

    Hello

    Here's what I recommend you do:

    1. Tower of AUC. Down comes the restrictions - turn it off completely.
    2 restart your computer for the change to take effect.
    3 re - download the update of security for Microsoft Office System 2007 (KB982331) from the link below:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=7f89a734-cda4-4abb-9a10-f6dfe560e8d0&displaylang=en
    4. install. It should work fine.
    5. If it still does not work, try to open all or part of your MS Office applications (such as MS Word, MS Excel, etc.).
    6. follow step 3.

    Let me know your results.

  • Continually, I get an error when you try to update KB968930

    Continually, I get an error when you try to update the following: Windows PowerShell 2.0 and WinRM 2.0 for Windows Vista (KB968930) I tried the solutions provided and it still does not work.  What can I do?.

    Both are optional, non-security updates - don't hesitate to hide them.

  • I get an error when you try to open "application that creative Cloud cannot be opened. -1712

    I get an error when you try to open "application that creative Cloud cannot be opened. -1712

    Cannot open the application Install.app. -1712

  • I get 201 error when you try to download Creative Cloud Desktop. My internet is fine.

    I get 201 error when you try to download Creative Cloud Desktop. My internet is fine. I want to know if I can download manually versions 2015 CC for Photoshop and first. My old Photoshop and first CC 2014 will be updated?

    Error 201 & 205 & 206 & 207 or several U43 errors

    -https://helpx.adobe.com/creative-cloud/kb/download-update-errors.html

  • Get "Not responding" when you use law ON the.

    Get "Not responding" after each keystroke when you use law on the.  I see the message and then after about 10-15 seconds, if you press the tab key.  Literally, it happens after every key stroke.  I've never had this happen before.  My laptop has Windows 8.  At this rate, it'll take a week to complete my tax return.

    Hello

    Thank you for your response.

    I'm sorry for the late reply.

    I appreciate your efforts to resolve the issue.

    I suggest you run the system file checker (SFC) and see if it helps.
    Reference:
    Use the System File Checker tool to repair missing or corrupted system files
    http://support.Microsoft.com/kb/929833

    System File Checker is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files.

    Note: It can ask the difficulty Windows installation DVD and allowing SFC to do more than minor repairs. Could some of the files saved on your computer are deleted when fixing corrupted files.

    Please keep us updated on the status of the issue.

    Thank you

  • Error when you use the feature Version «Back upward in a file»

    I run an error when you try to save a file version. The error is below to:

    There was an error trying to get the status of the job.

    1: the server returned an error during the processing of the action: CloseJob. Error message: String reference not set to an instance of a string.

    Parameter name: s

    As you can tell, he didn't give me much to do.

    Some background information:

    -J' trying to backup/export a version that has been upsized QA development

    -QA and development have the same version/patch 11.1.2.3.500

    -This version has been imported into the development, and then copied, and then mixed with a development version.

    -I did not receive any errors during this process

    -I am able to backup other files without getting this error

    Any help will be really appreciated.

    Thank you

    Aaron

    Hi Aaron,

    At first glance, it looks like there may be a string of property that is not a string data type. However, before you dig too deep, try to reload the version to see if that makes a difference. I had a similar problem before and it is solved.

    Thank you

    Jordan

  • We get an error when you test the payment flows. Can you help me please?

    I'm getting this when testing a payment flow:

    screenshot.png

    What should I do?

    Thank you, Diego.

    The form is corrupt. This is usually caused by

    (a) spoil the code tries to adapt the design.

    (b) you change things in the form to get him to change the code. Be aware that the form code can change when you use the form builder. You need to update manually if you change things in the form causing it to change ID or field names.

    (c) you have removed the form in the form designer.

  • error when you use the Export-CSV cmdlet

    Hello

    I get the following error when you try to pipe the output to a csv file

    " Could not bind the parameter argument 'InputObject' because she's nowhere.'"

    The output is placed in the csv file, but I get this error at the end of the script.

    Here is the code:

    ##Variables

    ###################################

    $report = @)

    $CSVfile = "d:\Vm_Report.csv".

    $VMs = get-vmhost | Get - VM

    ###################################

    {foreach ($VM to $VMs)

    $VMx = get-view $VM.ID

    $HW = $VMx.guest.net

    foreach ($dev to $HW)

    {

    foreach ($ip in $dev.ipaddress)

    {

    $report += $dev. Select @{Name = 'Name'; Expression = {$vm.name}},@{Name = 'IP address'; Expression = {$ip}}, @{Name = 'MAC'; {Expression = {$dev.macaddress}}.

    @{Name = 'Property DL'; Expression = {$vm. CustomFields}}

    }

    }

    }

    $report | Export-CSV - NoTypeInformation $CSVfile

    Thank you

    The attached script implements the test of the $HW variable.

    In my test environment, Export-Csv now works without any problem.

    Give it a try.

  • I keep getting out of memory errors when you use Windows Media Player.

    original title: of memory error

    Hi, I have a Windows 7 PC brand new with 12 GB of RAM, but I get low on errors of memory, especially when you use Windows Media Player. I tried:

    -Execution of the antivirus scans

    -Cleaning things out of the startup folder

    -Increase in the size of paging file

    I can't understand what the devil is the cause of this error - as I said, it's a new machine, and is not practically nothing on it yet.

    Any help is appreciated.

    Hello

    Follow these steps and check.

    (a) open 'command prompt' as an administrator (programs, accessories, right-click "command, prompt" run as administrator).

    (b) type the following without the quotes and press ENTER.

    "for %a in (% systemroot%\system32\wm*.dll) do regsvr32 /s %a.

Maybe you are looking for

  • Wired device (PC) connected as a wireless device

    Dear All - my lists of connected router my PC connected to the modem as a wireless device. How to configure my router D1500 to the list as a wired device. I plugged a cable ISP. Thanks for help. Tapas

  • Well, I'm stupid. How to post photos?

    I give up. I can't understand how to insert an image in my response messages. I tried the Insert/edit image, paste from Word button button and just copy and paste. I get the "your message was changed because the incorrect HTML code was found in the b

  • How can I restore my Windows to previous day?

    Accidentally, I moved my files and can not access.  I would like to restore the computer to a time yesterday to get back them.  have done it long ago, but I forgot. Know that it was relatively easy.

  • Audio does not not - Inspiron 1501

    I had a lot of problems with my computer so I recently installed a new copy of Windows XP. I was able to get everything working except for the audio. There is not anyone of sound, the computer does not even recognize the audio devices. When I tried t

  • Is it OK to delete the c:\ drive gfwlive cab files?

    Let's say I have my drive of z:\ designated for all downloads, and other files GFWLive.  (I guess GFW booth for Games for Windows.) Remove the cab files, too much space on my c:\ drive? C:\Users\xxxx\AppData\Local\Microsoft\GFWLive\Downloads 'C:\User