Delete statement does not work properly

Hello

The following delete statement does not work correctly.
If I press DELETE will delete everything in the table of categories
I don't know whats wrong with it.
-Delete category line if there is not the infrastructure to support-
IF: P12_DFCY_SEQNO4 IS NOT NULL AND: P12_DFCY_CATG_C = "7" THEN
REMOVE FROM DFCY_CATG
IF NOT EXISTS (SELECT I.DFCY_SEQNO
OF DFCY_CATG C, DFCY_CATG_INFRSTRCTR I
WHERE C.DFCY_SEQNO = I.DFCY_SEQNO
AND: P12_DFCY_SEQNO4 = I.DFCY_SEQNO);
end if;

Thank you
Mary

You probably the where more clause:

DELETE FROM DFCY_CATG
WHERE C.DFCY_SEQNO = :P12_DFCY_SEQNO4
AND NOT EXISTS(SELECT I.DFCY_SEQNO
FROM DFCY_CATG C, DFCY_CATG_INFRSTRCTR I
WHERE C.DFCY_SEQNO = I.DFCY_SEQNO
AND :P12_DFCY_SEQNO4 = I.DFCY_SEQNO);

Not sure if this is the exact name of your column in the table, but that limit the scope of deleting just a record that you control.

Hope it will be useful,

Aaron

Tags: Database

Similar Questions

  • DV6 quick launch button mute does not work properly. He puts the speakers muted, but does not change color.

    Laptop quick launch mute my computer Pavilion dv6-1050us button does not work properly. He puts the speakers muted, but does not change color.  It's still orange, not mater if your speakers are on or off.   His other (white) State works because it is white to start windows, but then goes to orange and does not change when selected but by selecting the button speaker turn the speakers on and outside as it should.

    I've loaded and reinstalled the quick launch driver software (sp46731.exe), but the problem is still there.  The problem is about 2 weeks old.   Have not added any new software that I know.  But computer installs updates as received.

    Simon

    Hello

    First download the audio driver by using the links below and save the installer to your desktop.

    Audio driver - Windows 7

    Audio driver - Windows Vista

    Once the download is complete, right-click on the Setup program and select "Run as Administrator" to launch the installation - ignore the warnings that you can see everything that is an earlier version.  Once the installation is complete, restart the laptop.

    Kind regards

    DP - K

  • Computer does not recognize network. -This device does not work properly because Windows cannot load the drivers required for this device. (Code 31)

    Hello!

    I have problems connecting to my network. I stay in a House (not my own) and I can't connect to the network in this House. When I choose the option 'connect to a network', nothing happens. I followed the instructions to display the "Device Manager" and watch the 'map', and he said:

    "This device does not work properly because Windows cannot load the drivers required for this device. (Code 31)

    Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available. »

    When I click on this button, nothing happens... Should I simply wait for Microsoft to return to me - or is there something else I need to do?

    Thank you!

    Hello

    You must get the drivers latset for m computer support site.

    Delete the "false: entry in Device Manager and install the new drivers."

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • Huawei Mobile Connect 3 G Modem this device does not work properly because Windows cannot load the drivers required for this device. (Code 31).

    System: Windows 7 Ultimate 64-bit. QC processor 2.5 Ghz, 4 GB RAM, Nvidia 9600GT. The work of modem very well until about a month. Uninstalles the device, I reinstalled it but the same messages. I've updated the driver and software, still nothing. In safe mode, the modem driver is loaded and the devicemanager reports that the device is functioning properly. Once the system is booted in normal mode divcemanager reports: this device does not work properly because Windows cannot load the drivers required for this device. (Code 31). Help, please. I check the settings for the 6to4 drivers and there is no problem.

    Thanx

    Hi rui2010,
     
    Place your machine in a clean boot State to see if another application is in conflict with the modem.
    If this fails, I recommend you reach out to the community Hauwei for assistance:

     
    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • HA does not work properly.... subhasis

    Hi all

    I have 7 business esxi 5.0 more and a vc lic. All esx are in single cluster. Today, I noticed that, after the failure of a server esx, vm migrates not this host to another host. Average ha does not work properly. After rephrasing of what esx vms become active but put off the power of the State with the error "failover HA vSphere virtual machine failed. Can someone guide me why it happened?

    Concerning

    Sasmas

    Admission control is enabled. He wouldn't have enough connectors on other hosts for other virtual machines to failover. Disable the admission control and recreate the scenario.

  • My Apple TV remote 3rd generation A1294 doesn't aluminum A1394 does not work properly, the battery is and I have tried all the resets including factory reset.

    My Apple TV remote 3rd generation A1294 aluminium does not work properly, battery is good, and I tried all the resets including factory reset. the battery compartment is clean.

    You don't say what you mean by not working not properly, however...

    Your Apple TV can become affiliated with another remote control. Hold the remote control close to and pointed on the Apple TV, press and hold the menu and rewind buttons together for 6 seconds or until you see an icon of the chain broken on screen.

  • I downloaded Multi Access Tool from Mcafee with Firefox Mozilla, how do I reinstall if it does not work properly?

    I downloaded Multi Access Tool from Mcafee with Firefox Mozilla, how do I reinstall if it does not work properly?

    My sincere apologies, my Mcafee came via the Optimum/Cablevision, not Mozilla. I now managed to solve my problem and appreciate the 2 above responses. Thank you.

  • Satellite P200 accidents + message: graphic card driver does not work properly

    Hello

    hope that this issue has not been covered before, but I've owned a Satellite P200 for 3 years now, and this week, it crashes all the time.

    When it started going down he gave me a few messages in the sense of "your graphics card/driver does not work properly and windows will be arrested to avoid damage.

    It has progressed to the point where now when I turn it on, I have vertical lines running down the screen and the screen flashes on and outside. Within 20 seconds, it restores the BSOD - 'there was a problem and windows will be arrested. Error Page_Fault_In_Non_Paged_Area"then stops.

    I ran a system restore but the problem remains.

    I have a feeling that my graphics card is toast. Is this good? Are there any other options to try? Thanks in advance for any answers.

    Matt

    Hello

    Sounds like the GPU problem.
    But try the graphics card driver update.
    Use the most recent driver for your graphics card.

    In addition, clean the fans of portable computers.
    Dust and debris could prevent the cooling fans to turn with the best speed and this could lead to a higher temperature which would lead to overheating.
    Use a jet of compressed air. I also use it and it helps to get rid of dust and debris.

    If this is not enough, then a problem of graphics chip would be possible.

  • Satellite L775 - mouse pad does not work properly

    I have a laptop Toshiba Satellite L775. I run Win 7 Home Premium. My mouse pad does not work properly. I also have a Logitech Anywhere MX wireless mouse. I tried the mouse pad to work properly with the key FN and F9, but it does not work. And you really have no idea if that turns or out of the mousepad anyway, subj for another time I guess.

    What does not work, but I have to do is to go to Control Panel then mouse option load that and just scroll the tabs without changing what each time and then close and the touch pad works. But only for this session. If I have my laptop nearby, or turn it off, I have to start throughout the whole process.

    What's past and how to fix this?

    Thank you very much.

    > What's past and how to fix this?
    After reading your ad, I still don t know what is your problem.
    > My mouse pad is not working properly
    How to understand this? What does not work properly? What happen exactly when you start your laptop?

  • Satellite Pro M10 - infrared does not work properly

    Hello

    I have a Satellite Pro M10 and my infrared does not work. I downloaded the zip file with the drivers from this site. Then, I uninstalled and reinstalled, but it always happens in the Device Manager under "unknown - SMC IrCC - Fast Port infrared (IR Module: HP). (with an exclamation point). When I look at the properties it says under device status:

    This device does not work properly because Windows cannot load the drivers required for this device. (Code 31)

    Click Troubleshoot to start the troubleshooter for this device.

    However, under Driver Details is said:
    C:\windows\system32\DRIVERS\smcirda.sys

    I extracted the zip file in my home directory of c:\downloads\infrared.
    whatever I do, it does not now. It worked when I bought it, but I have too many things on the system for a new installation. Which brings me to another question. Is it possible to re - install windows without losing all your data, etc.? I did it with other systems (95,98) Windows. But it seems that the Toshiba recovery disc means any wiping.

    Thanks in advance for any help.
    Chris

    Hello

    If your HARD disk contains two partitions and you have saved the data on a second you can reinstall the operating system on the first partition using recovery DVDs.

  • Mat * one years (uj-840) DVD player does not work properly

    The Mat * one years (uj-840) DVD player does not work properly.
    A symptom of the problem is that the icon does not appear in 'my computer '.
    more and she does not recognize the CD.

    I went to the properties of the drive through Device Manager and saw the following message is displayed:

    "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39)
    Click Troubleshoot to start the troubleshooter for this device. »

    Following the instruction of the troubleshooter, I tried to update my driver through
    Device Manager, but it tells me that the current driver is the more up-to-date version.
    In the properties of the drive, I found that my driver version is: 5.1.2535.0

    What is a simple problem that has a solution?
    I don't see other actions to find the root of the problem.

    Thank you

    I hope this article can help you - http://aps2.toshiba-tro.de/kb0/FAQ8101LA0000R01.htm
    Check it out!

  • Toshiba common modules does not work properly

    Whenever I connect to the laptop, I get a message: Tfncky: Toshiba common modules does not work properly.

    Anyone know what this means?
    I wonder if that has something to do with my windows media player does not properly. If I open the application, it is not to maximize the screen shows the taskbar
    Finally, it simply says "not responding" and I have to close the application. Tried to remove and reload that a new copy of WMP but it does not help.

    I don't know what laptop mode you but the first thing to do is to reinstall the Toshiba common modules.
    Please visit Toshiba support and download page under http://eu.computers.toshiba-europe.com go to the download section, choose your phone model and download common modules.

    Please let us know if everything works well again.

  • Keyboard does not work properly

    Hello

    I had trouble getting my laptop satellite to initialize. Recovery disks & pressing F keys weren't working so I decided to open the laptop to see if there are any loose connections. To my surprise, the laptop seems to work again once I had the USB keys and put back them in! Unfortunately, before that I did, I opened the keyboard and peeked inside.

    When I booted up and tried to use the keyboard keys half of their work and the other half seem to think that they represent two other keys for example if I type the letter 'E' I get '3' and '-' as a whole. After 5-10 minutes the entire keyboard will become totally unresponsive until I restart again. Of course, I think I've done something here because this problem since I opened the bottom of the keyboard. This could be a hardware failure I have caused or is anyway that this issue can be resolved without replacing anything?

    Thank you very much

    Tom

    Hi Tom

    Theoretically, it might be just a connection lost between the keyboard and the motherboard, but I'm afraid, it can be a serious problem of m.
    Maybe you have damaged the connector of the keyboard cable or something similar, and not the keyboard does not work properly.

    I think the keyboard needs to be replaced to check if only this part is affected

  • Satellite L670 - after Win 8 upgrade WIFI does not work properly

    Afteer upgrade to Win 8, the WiFi of my Satellite L670-128 has stopped working properly.

    The connection only works some time, usually only a few seconds before the connection is lost.
    After a few seconds or minutes the connection is restored, just soon to be lost again.

    Cannot download large files or even to see larger photos on normal web pages. Is there any Win8 driver for Broadcom coming 802.11n network card, or should I throw one 2.5 year old computer in the trash?

    Buy a usb-wlan card is not an option, as wireless mice is already "permanently" reserving one of the three usb ports and wlan card it would be just to the left...

    To my knowledge this L670 series isn t Win 8 taken in charge and this means that there is no special Win 8 drivers for this device, so I put t think you will find an another Win 8 driver for this WLan card.

    But do you really want to throw this laptop in the trash just because the wifi does not work properly running Win 8?
    The device was working properly under Win 7?

    I would recommend running a few Wlan test.
    For example; Disable wireless encryption on your router and Wifi connectivity with the open network do that just for testing purposes, perhaps you will need to change the type of encryption to test.

  • Carpet * a DVD - RAM in Sat M55-325 drive does not work properly

    The Mat * one years (uj-840) DVD player does not work properly.
    A symptom of the problem is that the icon does not appear in 'my computer '.
    more and she does not recognize the CD.

    I went to the properties of the drive through Device Manager and saw the following message is displayed:

    "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39)
    Click Troubleshoot to start the troubleshooter for this device. »

    Following the instruction of the troubleshooter, I tried to update my driver through
    Device Manager, but it tells me that the current driver is the more up-to-date version.
    In the properties of the drive, I found that my driver version is: 5.1.2535.0
    I have RecordNow from Sonic/Roxio which is preinstalled on the computer.

    What is a simple problem that has a solution?
    I don't see other actions to find the root of the problem.

    Thank you

    Hello

    Check it please this page http://support.microsoft.com/default.aspx?scid=kb;en-us;320553 Microsoft

    I had similar problem. The ODD (optical disc drive) did not appear in Windows Explorer. Method 1 from this page solved the problem. Please try the same thing and let me know if ODD working again.

Maybe you are looking for