What is wrong in the below block. Just trying to update after the fetch

set serveroutput on;
declare
begin
for i in (
select c1.part_number,c1.serial_number from components c1
where aircraft_code in ( select aircraft_code
from aircraft_header_2 ah2 where ah2.current_aircraft_indicator <> 'Y' and
trim(aircraft_code) is not null)) loop
update components set fit_details_a = ' ' and fit_details_b = ' '
where trim(part_number) = i.part_number and trim(serial_number) = i.serial_number;
delete from aircraft_build  where part_number = i.part_number and serial_number = i.serial_number and trim(aircraft_code) is not null;
END LOOP;
end;
Error report:
ORA-06550: line 9, column 43:
PL/SQL: ORA-00933: SQL command not properly ended
ORA-06550: line 9, column 1:
PL/SQL: SQL Statement ignored
06550. 00000 -  "line %s, column %s:\n%s"
*Cause:    Usually a PL/SQL compilation error.
*Action:

Please, replace
update components set fit_details_a = ' ' and fit_details_b = ' '
by other this
update components set fit_details_a = ' ', fit_details_b = ' '
the and is incorret, you must use comma.
HTH - Antonio NAVARRO

Similar Messages

  • What's wrong with the activation server? i just bought my ipad wifi celllular... and have a 3g cellular network connection... when i press the bottom to activate my ipad it says the activation server cannot be reached. what to do then?

    what's wrong with the activation server? i just bought my ipad wifi celllular... and have a 3g cellular network connection... when i press the bottom to activate my ipad it says the activation server cannot be reached. what to do then?

    Hey aries35,
    I found the following that goes over troubleshooting the same issue for the iPhone. I know you have an iPad, but the steps should still apply:
    Perform the following steps:
    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to a known-good Wi-Fi network if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Apple for assistance.
    via: iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/TS3424
    Cheers,
    Delgadoh

  • What's wrong with the display?!

    Of my many macs, one is an iMac snow. It still works pretty good, and recently I put in a new harddrive and installed Mac OS X onto it. It's been working perfectly fine for the last few months now. However, just early today the display went bonkers. My little sister was playing a game, and it said that in order to play the game, the colors must be set to 256. So I clicked okay and changed the settings from millions to the settings the game needed. When she was done playing the game, however, the colors were all messed up. I tried restarting the computer first, but that didn't work so I went into the preferences and tried to fix the color there. Still, nothing worked. I don't know what's wrong. The colors are in the negitive. Everything that is supposed to be white is black, everything that's supposed to be black is white, everything that's supposed to be blue is red, and so forth. I can't get it off this negitive effect. Can someone please help me out?! Any advice will be greatly appreciated!

    Wow... thanks a bunch. That was SOOOO simple. I feel so stupid now. Just one click, and I sooo overpassed it earlier. -_- Agh.
    Thanks!!!

  • I can't print using airprint from my iPhone 4.  Everything with the phone and the printer and router are up to date.  I can print from my iPad 2 with no problems.  What's wrong with the iPhone 4?

    I can't print using airprint from my iPhone 4.  Everything with the phone and the printer and router are up to date.  I can print from my iPad 2 with no problems.  What's wrong with the iPhone 4?

    I just wanted to leave a note that it's working now. I'm not sure if it was the latest iTunes update that got it working or that i decided to start a new library instead of using the one i had backed up on Windows 8 (it didn't occur to me to check using the old library when i re-installed iTunes). But if anyone is having this problem, it might be worth trying again with a new installation of iTunes to see if the latest update works for you, and if not, try using a fresh library instead of a backup (by fresh library i mean discard your old library completely and start a new library, not just restore as new iPhone, a whole new library).

  • What is wrong with the table om page 2 (see attached file)

    What is wrong with the table om page 2 (see attached file)

    MySpecialSceenName wrote:
    But there are several empty lines under the text...........
    I'm guessing that by that you mean space for several lines, not empty paragraphs. This could be caused by any number of things, but not allowing hyphenation, or hyphantion rules that are too restictive might cause ID to be unable to break a line which would cause it to go into overset, as would possibly some combinations of Keep Options if there is more than one paragraph in the cell or if there is not enough room to fite the entire paragraph and you are just one line short with keep options requiring at least two lines be kept together at the end, for example. Applying No Break to a sting too wide for the cell would do it too.

  • What is wrong with the app store and how long before its fixed, im downloading atna very slow pash and i have a 10mb uncontested line.

    What is wrong with the app store and how long before its fixed, im downloading atna very slow pash and i have a 10mb uncontested line.

    Sorry, its on both my iphone 4s (2 iphones) and ipad2 that the app store is slow, I have done all the above and still when i download a 1 mb app it take about a half a hour just to download and previously it wasn't even a second. When browsing the web the devices are fast and internet speed is good, but when going in to app store it takes long to load and show me the new app, updates, featured app ect. We watch movie online and the streaming is brilliant. Even on my windows pc the app store is slow and sometimes says that i store could not be opened, i have also tried on my buddies wifi and there it does exactly the same which makes me think that its on apples side, but why do you not have any problems? 

  • What is wrong with the Photoshop CC 2014 blur tool?

    What is wrong with the Photoshop CC 2014 blur tool?  It only blurs pixels of initial contact with the tool.  It does not blur any pixels that are swiped by the tool as you drag it across the screen.  Photoshop CS6 blur tool works just fine.  Togeling between two versions of Photoshop to get the work done is a drag!

    all my settings both in the Options Bar and the Brush Panel are the same whether in CS6, CC, or CC 2014.
    Let’s see the screenshots.
    Don't know how to post a screen shot
    Use the camera icon.

  • What is wrong with the cloned HD?

    Hi, there,
    I have a G4 Sawtooth, 1.3 GHz, 1.6 GB RAM, with an ACARD ATA-100. An 80 GB HD is connected to the ATA bus of the motherboard, and an 160 GB HD to the ACARD. I cloned Mac OS 10.4.10 from the 80 GB HD to the 160 GB HD. I could boot the 160 GB cloned HD to the window when I was asked about the name and password. I used the name and password, which I have with my original HD. However, the window just shook my password off. I used the installation disc for resting password, and found there was no name or password for the cloned. Besides, the box for entering the name was obscured in gray that I could not enter a name there.
    What is wrong with the clone? What should I do to make the clone HD completely bootable?
    Thanks.
    Robert

    Inasmuch as you've provided little helpful information about how you prepped the drive and cloned it, all I can do is suggest the following:
    Extended Hard Drive Preparation
    1. Boot from your OS X Installer Disk. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.)
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. Otherwise, click on the Partition tab in the DU main window.
    3. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled, if supported.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled, if supported.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process will take 30 minutes to an hour or more depending upon the drive size.
    How to Clone Using Restore Option of Disk Utility
    1. Open Disk Utility from the Utilities folder.
    2. Select the backup or destination volume from the left side list.
    3. Click on the Erase tab in the DU main window. Set the format type to Mac OS Extended (journaled, if available) and click on the Erase button. This step can be skipped if the destination has already been freshly erased.
    4. Click on the Restore tab in the DU main window.
    5. Select the backup or destination volume from the left side list and drag it to the Destination entry field.
    6. Select the startup or source volume from the left side list and drag it to the Source entry field.
    7. Double-check you got it right, then click on the Restore button.
    8. Select the destination drive on the Desktop and press COMMAND-I to open the Get Info window. At the bottom in the Ownership and Permissions section be sure the box labeled "Ignore Permissions on this Volume" is unchecked. Verify the settings for Ownership and Permissions as follows: Owner=system with read/write; Group=admin with read/write; Other with read-only. If they are not correct then reset them.

  • What is wrong with the phone?

    I have bought a telephone 4s which is unlocked. I use it in Norway on N Telenor . But is no network for colling just 3G Internet. My phone imei . What is wrong whith the phone?
    <Personal Information Edited by Host>

    They say is everything is ok with SIM card. Then should be wrong with the phone.

  • Just tried to update my iPad 2 to the current iOS, and I got an error that said the update wouldn't install. The iPad is stuck in a funny mode with the apple and spinning wheel showing. I can't power it down or restart it. What next? Thanks.

    Just tried to update my iPad 2 to the current iOS, and I got an error that said the update wouldn't install. The iPad is stuck in a funny mode with the apple and spinning wheel showing. I can't power it down or restart it. What next? Thanks.

    Try a hard reset: hold the power and home buttons simultaneously until the Apple logo appears.

  • What's wrong with the itunes store UAE? i couldnt buy my favorite songs and movies because there's no "music" and "movies" category. please do something... thanks!

    what's wrong with the itunes store UAE? i couldnt buy my favorite songs and movies because there's no "music" and "movies" category. please do something... thanks!

    You are not addressing Apple here...
    This is a User to User forum...
    iTunes Store: Which types of items can I buy in my country?

  • What's wrong with the fan of my 15 inch retina mbp?

    what's wrong with the fan of my 15 inch retina mbp,when i play a big game like Batman ,the fans are so quiet and keep around 2000rpm,but the temperature of  cpu is up to 80 degrees.(by the way, i have reseted the SMC for many times,but it doesn't work)

    80 degrees F or 80 degrees C?

  • What's wrong with the code?

    public void run()
    try
    {     for(;;)
         mgr = (RTPManager)RTPManager.newInstance();
         mgr.addSessionListener(this);
         mgr.addReceiveStreamListener(this);
         try{  /*****port1 = port2 = 29261, which port is only used in here
         localAddr = new SessionAddress(InetAddress.getLocalHost(), port1);
         destAddr = new SessionAddress(ipAddr, port2);
         }catch(Exception e)
              System.out.println(e + " 4");
         try{
         mgr.initialize(localAddr);
         }catch(Exception e)
         System.out.println(e + " 5");
         //set buffer
         bc = (BufferControl)mgr.getControl("javax.media.control.BufferControl");
         if (bc != null)
         bc.setBufferLength(20);
         try{
              mgr.addTarget(destAddr);
         }catch(Exception e)
         System.out.println(e + " 2");
    catch(Exception e)
         System.out.println(e+ " 3");
    the error when i run the code is like that:
    javax.media.rtp.InvalidSessionAddressException: Can't open local data port: 29261
    5
    java.io.IOException: Address already in use: Cannot bind 2
    which means there is error in :
    mgr.initialize(localAddr);
    mgr.addTarget(destAddr);
    But i don't know what's wrong with the code,
    can any one help me?

    I do not find any problem using the same ports for local and destination address with several unicasts. My problems are others.
    But note that the error is even at constructing the localAddress, I mean before trying the destinationAddress. Thus the reason cannot be the former is already in use. In fact I think the later belongs to a remote hosts. Likely, it is trying to access the destinationAddress through the localAddress, but this has not been constructed properly.

  • What's wrong with the wsdl

    We are trying to create a proxy from the following wsdl file and getting an error message: illegal syntax: API:Parameter BINDING has initial value
    The webservice that we are trying to consume is from TIBCO .
    Can someone please help me to find out what's wrong with the wsdl.
    <?xml version = "1.0" encoding = "UTF-8"?>
    <!--Created by TIBCO WSDL-->
    <wsdl:definitions name = "Untitled" targetNamespace = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/" xmlns:xs = "http://www.w3.org/2001/XMLSchema">
         <wsdl:types/>
         <wsdl:service name = "TIBCO__ABAP">
              <wsdl:port binding = "tns:SOAPEventSourceBinding" name = "SOAPEventSource">
                   <soap:address location = "http://192.168.9.58:10001/TIBCO_ABAP"/>
              </wsdl:port>
         </wsdl:service>
         <wsdl:portType name = "PortType">
              <wsdl:operation name = "Operation">
                   <wsdl:input message = "tns:Input"/>
                   <wsdl:output message = "tns:Output"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name = "SOAPEventSourceBinding" type = "tns:PortType">
              <soap:binding style = "document" transport = "http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name = "Operation">
                   <soap:operation soapAction = "http://192.168.9.58:10001/TIBCO_ABAP" style = "document"/>
                   <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
                   <wsdl:output>
            <soap:body use="literal" />
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:message name = "Input">
              <wsdl:part name = "Param1" type = "xs:int"/>
              <wsdl:part name = "Param2" type = "xs:int"/>
         </wsdl:message>
         <wsdl:message name = "Output">
              <wsdl:part name = "Result" type = "xs:int"/>
         </wsdl:message>
    </wsdl:definitions>

    Léon Hoeneveld's response works for me.  You will need to download a tool that allows you to edit the WSDL and reorder the values. 
    I've used a freeware tool like notepad++  collapsed all the levels and opened up the <wsdl:definitions xmlns:wsdl... segment and reordered the subgroups beneath it accordingly.
    1. types
    2. message
    3. portType
    4. binding
    5. service
    Thanks again Léon!

  • What's wrong with the server?

    execute me ~what's wrong with the server? I can‘t use the command nohup any longer.Can somebody help me?
    root@shhis1new # nohup
    Segmentation Fault (core dumped)
    root@shhis1new # nohup ls
    Segmentation Fault (core dumped)
    root@shhis1new # nohup /opt/SUNWexplo/bin/explorer -w all &
    [1] 6871
    root@shhis1new #
    [1]+ Segmentation Fault (core dumped) nohup /opt/SUNWexplo/bin/explorer -w all
    root@shhis1new # uname -a
    SunOS shhis1new 5.9 Generic_122300-19 sun4u sparc SUNW,Netra-T12
    System Configuration: Sun Microsystems sun4u Sun Fire E2900
    System clock frequency: 150 MHZ
    Memory size: 49152 Megabytes
    Best Regards
    <email address removed by moderator>
    Edited by: 884082 on 2011-11-22 下午10:00

    Moderator Action:
    You email address has been removed from your post.
    You wouldn't want bad people to send you spam messages for the rest of your life, eh?
    Moderator Advice:
    If this is the same E2900 that you have mentioned in every one of your other forum posts, then it would seem you need to contact Technical Support and open a proper support request. These forums are NOT techsupport and that system seems so poorly configured that it needs deep analysis. Such investigation cannot be done by using an online forum.
    The immediate solution is to log on to the SC of that box and power it down, then boot it back up. At least it will be running after that.

Maybe you are looking for

  • Unable to import idoc into PI 7.0 system from SAP r/3 system

    Hi Experts,     I am getting an error while importing an Idoc structure from SAP r/3 system. The error says "unable to read Idoc segments". The Idoc has recently undergone changes. When We are looking at the struture of idoc through IDOCSYN table it

  • OAS10g to Weblogic 11gR1

    We have a JSF application completely developed in JDeveloper 10.1.3 with ADF and Toplink, which is developed on OAS 10gR3 in oc4j. We will soon start working on migrating this to Oracle WebLogic Server 11g R1. With the OAS and Weblogic merge I am a l

  • I cant connect my n900 to wifi

    plz all .. help me wth this problem .. i cant connect my device with wireless connection ...

  • Errors loading .m4v into iBook author?

    Anyone getting errors loading .m4v into iBook author? I have been supplied .m4v files to insert into my document and an error pops up ...

  • JMS and loadbalanced Radius servers

    I have a problem with sending JMS messages to a queue where they get picked up and implemented upon by executing cisco cmds via ssh, i seem to get varied JMS commnds sent to two different VPNs. there are two cisco swithes and two jboss appserevers, e