Update Help please

Hi everybody,
I am getting ORA-01427 Single row subquery returns more than one row. basically SELECT statement is returning 2 rows . how to work with this query to update OPRID field ?
update PS_LM_PERSON_OPRID D set D.OPRID = (
SELECT A.OPRID
FROM PSOPRDEFN A , PS_LM_PERSON B , PS_LM_PERSON_OPRID C
where A.EMPLID = B.LM_HR_EMPLID
AND B.LM_PERSON_ID = C.LM_PERSON_ID
AND A.LASTSIGNONDTTM is not null
AND C.OPRID = ' ' ) ;
regards,
Kanni

Hi ,
Can anyone please explain me the need of WHERE EXISTS clause in this script ?
update PS_LM_PERSON_OPRID C set C.OPRID = (
SELECT A.OPRID
FROM PSOPRDEFN A , PS_LM_PERSON B
where A.EMPLID = B.LM_HR_EMPLID
AND B.LM_PERSON_ID = C.LM_PERSON_ID
AND A.LASTSIGNONDTTM is not null
AND C.OPRID = ' ' )
where exists (
SELECT 1
FROM PSOPRDEFN A , PS_LM_PERSON B
where A.EMPLID = B.LM_HR_EMPLID
AND B.LM_PERSON_ID = C.LM_PERSON_ID
AND A.LASTSIGNONDTTM is not null
AND C.OPRID = ' ' );
regards,
Karu

Similar Messages

  • Cannot open itunes now I've downloaded the update - help please

    I launched my itunes and had a message asking did I want to install the updated version. When it finished installing it said it needed to shutdown and restart - which I did. When I tried to reopen itunes from the shortcut it said it cannot open it coz some files are missing. Can anyone help please. I have contacted apple and although i've had my phone for over 90 days they have emailed me steps on how to uninstalled and reinstall safely. However, once I got the email, the first thing it tells me to do is to launch itunes which I can't do. can anyone help please? Many thanks.

    Hi,
    Try the following
    First of all, see if you can uninstall your current version of HP Support Assistant by using the Microsoft 'Fixit' on the following link - this is particularly useful in correcting issues that may prevent reinstallation on machines running a 64bit OS.
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    If this completes, restart the PC.
    Next download and install the latest version of HP Support Assistant from the page on the link below - the download links are towards the bottom of the page.
    http://h18021.www1.hp.com/helpandsupport/hp-support-assistant.html
    After the installation, restart the PC again.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • 3GS update help please.

    Hi,i updated 3gs through itunes and i thought it worked,however it will not activate neither thru itunes or wifi.i have restored with no success.im now stuck with a phone that i cant go forward or backwards with.any help please before i go mad?
    The phone does say connected to itunes sometimes however itunes just says "cannot activate at the moment please try again later"

    Sounds to me like the phone was hacked or jailbroken to unlock it. If that's the case, the update has bricked it. It will not be able to activate.
    If it was jailbroken or hacked, we can not help you here.

  • TS3694 Apple 4s stuck in a loop and not restoring or updating Help please!!!!

    Apple 4s stuck in loggo loop and not restoring or updating. I have tryed all the recomended stuff all the youtube video EVRYTHING!!!!! I cant think of any reasone for it to not work .one minuet it was playing music on my sterio and the next this loggo loop.   HELP PLEASE!! **** YOU APPLE!!!!

    Maybe:
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable              
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              
    Or
    Restore loop (being prompted to restore again after a restore successfully completes)
    Troubleshoot your USB connection. If the issue persists, out-of-date or incorrectly configured third-party security software may be causing this issue. Please follow Troubleshooting security software issues. .
    Next try placing in DFU mode and then restoring.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    Then try restoring on another computer.
    Last, make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Z10 won't complete setup after device software update, help please.

    Help please, cannot complete phone setup ater performing software update using Blackberry Link.
    Sequence of events;-
    Phone recognised by Blackberry Link.
    Reload device software selected - updated version 10.0.10.90 available.
    Get update - software appears to load correctly then Z10 unplugged.
    Phone reboots, Welcome to Blackberry, English(UK) ticked, swupe left.
    No SIM card available, swipe to WI-Fi.
    Password entered for home network and confirmation screen shows connected.
    Agreement Screen - Country changed to United Kingdom(English),
    at bottom of screen under I agree to the Blackberry SLA....
    the 'I Agree' and 'I Do Not Agree'  buttons can not be selected and
    after a short delay Unable to connect screen appears.
    Pressing 'Settings' goes back to Wi-Fi Networks page with
    confirmation that connection is good and round we go again.
    Having performed software update several times as above and also from
    www.BlackBerry.com/updates by following forum posting at
    http://supportforums.blackberry.com/t5/General-Bla​ckBerry-10-Smartphone/How-
    to-Reload-your-Blackberry10-OS/td-p/2187545
    and getting the same result each time I would appreciate help to resolve this issue.
    Solved!
    Go to Solution.

    Try finding a different open free Wifi hotspot to perform the setup.
    It sounds like the device is never connecting to your WiFi to complete the setup.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Wifi doesn't work very well since ios6 download.  Worked fine before update, help please

    wifi doesn't work very well since ios6 download.  Worked fine before update, help please

    I reset modem and router.  Still have the same issue.  I have a laptop connected to the network as well as a PS3.  Both are working great.  Did a Speedtest app test on iphone.  With 3g it was working good.  When i switched to wifi, it was trying to get the ping test accomplished, and could not.  it was stuck in the ping test at 0% for a long time and never progress. 

  • Iphone wont turn on after ios 7.1 update, help please

    Guys, please help me with this problem. After updating it to iOS 7.1 its no longer turning on

    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions.   If it does not function, inspect it for signs of damage.   If the button is damaged or is not functioning when pressed, seek service.
    Check    if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See   "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears,   continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.

  • Firefox unable to update - Help please

    Hello, I am trying to install the latest update of Firefox from 3.6.3 to the new update 3.6.6 and I get the following message:
    "A recommended security and stability update is available but you do not have the system permissions to install it. ....."
    I am logged on a mac with administrator access and cannot understand why the error occurs. I do not want to complete a fresh install and lose all of my system settings and favourites. Can someone please help ???
    == I tried to update to 3.6.6

    it did transfer all the info, bookmarks, etc. didn't empty trash before i knew it took.

  • Internet/browser/automatic updates help please

    Starting yesterday, most websites won't load in Safari, Chrome, or Firefox. Facebook works, youtube works, I can do a search on google and see results. When I click any external link it doesn't work, and typing most urls doesn't work either. However, I found that by using Miro, I can type the url or copy/paste a link and it works fine! (E-mail is also unaffected)
    I only noticed the problem yesterday when starting up my computer and it installed automatic updates for: safari, iTunes, keynote, and killerkeys. I haven't been able to uninstall the updates to see if that would fix it,
    I don't know enough about miro or the browsers to have a clue as to why something would work there and not other places.. any clues?
    I'm on a work computer now, but any help is greatly appreciated!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I can't download apps or do my update help please!

    i dont know why but i can't download apps or do mu update please help me

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears. Already done
    - Go to Settings>iTunes and App Store and sign out and sign back in
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • Airport not working after Apple sw updates - HELP PLEASE!!!

    I have a newish MAC Intel. The Airport was working fine for the last 9 months or so until I puled down Apples usual sw updates. I did them all incl the firmware update. Now the Airport wont hook up. I have wireless to NETGEAR router downstairs. I see network broadcasting as its sen in networks box, yet when I select it and then plug in a WEP and connect it says no can do and jumps back to no network selected. Ive tried this dzens and dozens of times. Lke I said was fine for last 9 months until updates last week...grrrhh.can anyon help me please?
    thanks
    ./david
    PS ot sure what OS I have..never checked to be honest
    INTEL iMAC   Mac OS X (10.4.8)  

    Hi David,
    sunny in Scotland right now ?? (Sorry, just joking)
    Have the same one and came to the conclusion that Airport doesn't wait for the DHCP from the Netgear to get a numer like 192.168.xxx.xxx but has already one which is not in the pool provided by the Netgear.
    Since I'm depending on this I help myself by turning Airport off (in the Menu) wait 20 seconds and then turn it on again.
    Helps every time.
    Another guy round here has helped himself by turning off the Automatic (in the Airport preferences) and has entered all numbers manually.
    Regards
    Stefan

  • Blackberry lose's connection to pc during update help please.

    need some help if you can please.
       i have been trying all night to update my blackberry i have used blackberry destop manager from blackberrys website.
      i have used            http://www.blackberryforums.com/general-8900-series-discussion-javelin/231976-latest-os-8900-5-0-0-1...                                                                           As i was advised by one of the user on here but no matter what i use and what i do my phone will lose connection to the pc i have used 2 different cables with same effect and have even used to different pc's.
    does anyone heave any idea why this is and how i can fix it?
    thanks for any help.

    While updating to the latest software upgrade, I
    believe I unplugged the Nano too soon. As a result,
    I have not been able to access the Nano via the
    updater to reset the iPod, get it into disk mode, or
    get iTunes to recognize it. The iPod boots and will
    ask for a language each time. I then get the songs
    menu and all songs are gone. I'm guessing corrupted
    the disk because updater won't initialize The
    computer recognizes the iPod as drive H, so I don't
    believe it's connection-related. Thanks for your help
    Hello,
    I had more or less the same problem when updating to 1.1.1 my daughter's 2GB nano (the same operation with my 4GB was completely OK). I was in despair, when eventually found the solution in this forum (by the way, I think it's a bug, but your own fault...):
    1) connect the nano to the computer, then close iTunes or any other program trying to access it.
    2) through Explorer, click on the "external unformatted disk" (or something like that) which corresponds to the nano (drive H, you said);
    3) right click (and be patient, it may take a bit), then select "Format" (don't select 'low level formatting') and run it. It will take a bit, but in my case at the end of the formatting iTunes automatically started and recognized the iPod, and everything was OK.
    Of course, the music previously stored was lost.
    Hope it helps,
    Ivan
    Asus Notebook Windows XP

  • Lost all my photos and txt messages during last update- HELP PLEASE

    During the last IPhone update my phone went into restore mode and when it recovered all my photos, videos, and txt messages were gone.  I went to restore through old ITunes restore points, but they were gone too- all I have is one from 2011 and the one with nothing on it, and I have synced my phone hundreds of times since 2011.  Is there anything I can do?  I have a Mac, could I use Time Machine to go back to an old date, and possibly the ITunes restore points will be there?  Any help will be much appreciated!!!

    Did you fail to backup the device prior to attempting the update?  If so, any content between the last backup and when the update apparently failed will be gone.
    If the device has been used as designed, contact would be synced to a supported application on the computer or a cloud service.  Simply sync them back.
    Pictures and videos taken with the device are designed to be copied to a computer regularly.  Only a fool would expect a device so easily lost/stolen or damaged to be sole storage of their "important" pictures.

  • Photoshop acting buggy after 10.6.5 update help please

    So after I get a work-around for the bluetooth problem i can't seem to  solve, my photoshop is totally screwy. First it's cs4 extended and my  macbook pro is 3.06 with 6gb ram. I never had problems before the update  and I've done everything you can think of to fix it . Reset pram, power  reset, repaired permissions, purged photoshop, reinstalled photoshop,  allocated all ram to photoshop, downloaded the fan utility thinking my  computer was overheating and adjusted the fans to run cooler, no fix.   etc, etc.
    The problem is that when i'm working the screen the main window does not  show changes, like when i use the select tool, i get no dancing ants?  If i change the gradient I can see the thumbnail on the right change,  but the main image does nothing for a very long time... I have to wait  like 20 seconds for anything to show on the main screen while I'm moving  my mouse around and selecting different tools to see if it's frozen.  It's not frozen, but just taking forever to show me anything... I try to  select text, but nothing highlights, but if I change the text, it does  change, i just can't see it on the main window! Photoshop is all of a  sudden taking up 120% of my processing when i have a 6mb file open and  nothing else.
    Please offer suggestions on what i can do. Disk utility/repair didn't  find any errors. all my other program seem to be running fine, just  photoshop is screwed up. I don't have any plug-ins. or anything  different than before I updated. (well besides my bluetooth not working  correctly) this is very frustrating.
    Please offer some suggestions, but i've tried everything i could find  and nothing seems to work, nor do i seem to have any other problems...
    I am about to smash the computer I'm so frustrated.

    Tahnks for the reply.
    I've switched users, ran onyx , cleared everything, 5 or 6 time. etc, etc. I'm not new to Macs and diagnosing problems, but this is driving me frickin crazy!
    Photoshop cs4 11.0.1 does it and even reinstalled 11 does it. I've cleaned up fonts and reverted to my fonts library from june and still problems.
    NVIDI GeForce 9400M & NVIDIA GeForce 9600M GT
    Model Name:    MacBook Pro
      Model Identifier:    MacBookPro5,2
      Processor Name:    Intel Core 2 Duo
      Processor Speed:    3.06 GHz
      Number Of Processors:    1
      Total Number Of Cores:    2
      L2 Cache:    6 MB
      Memory:    6 GB
      Bus Speed:    1.07 GHz
      Boot ROM Version:    MBP52.008E.B05
      SMC Version (system):    1.42f4
      Serial Number (system):    W89371M98YB
      Hardware UUID:    66D55B5A-77E8-5D37-9367-823918161A83
      Sudden Motion Sensor:
      State:    Enabled

  • Firmware update help please

    Hello, I posted this in the optical forum but got no answers, so I hope someone could help here.
    Hi there, I have just fitted an MSI CR52-M CDRW and ran live update to check for firmware. It said I had version 3.30 and 3.70 was available. I started the update procedure following exactly in windows mode and while it was updating it just simply crashed.
    I used the flash recovery floppy it got me to create, but this just set me back to 3.30.
    I tried again via live update, but this time chose to do it in dos mode. After going through the process and rebooting etc. It still says I have version 3.30?
    Is there a problem with this firware upgrade or am I perhaps overlooking something?
    I thank you in advance for any help and advice.

    Your post in the optical forum is the correct place. It may take a while to get a response.

Maybe you are looking for

  • How many devices can i run lion on it?

    how many devices can i run lion on it?

  • Mixed Logic Comes to Smart Playlists in iTunes 9!

    Smart playlists have always been limited in that you could only use AND or OR logic, but not both in the same smart playlist. For example, if you had multiple criteria you had to choose between matching +All the criteria+ (AND), or +Any of the criter

  • Working with table data in Web Application Designer (WAD)

    Hello experts, I integrated two queries as analyse web items into a web template. To generate new facts, there is a need to compare data of both tables. Unfortunality there is no possibility to merge both quiries in one single query. It has to be don

  • How to start WF on inbound IDOC?

    Hi, the spec is to on every inbound IDOC to trigger an WF. If the IDOC has an error it works fine, but if its ok i don't konw how to catch it. Thanks in advance to all

  • Servermgrd: Where to specify DNS for server?

    Been having a lot of trouble with Mac OS X Server 10.4.11 (running on PowerMac G5, 2 GHz, 2.5 Gb of RAM) the last few days. Some recurring log items I see are: Jun 26 07:40:55 GBG-Server servermgrd: servermgr_dns: no name available via DNS for 172.16