Record check duplicate using control block

Hello

Please see the link
http://SheikYerbouti.developpez.com/duplicates/duplicates.htm

If I have 3 revenge in my form for which I need to check the duplication,
According to the link, I have to create 3 control blocks?


Thank you

Hello

You can use the same block control, but with different points, of course.

François

Tags: Oracle Development

Similar Questions

  • Check duplicate record all by preventing insertion

    Hello

    I have a scenario where I need to insert records from 20 000 to 30 000 daily in a table that has data in millions.

    Keep inserting a record in duplicate and in the event of any duplicate record, this issue need to be logged in another table.

    I used FORALL except SAVE to allow loading of all records not not duplicate. But with this approach, I am unable to know which record was duplicate or problems in the insertion.

    Also I can't use triggers to connect each record before insertion because I only need the duplicate records. Also, trigger will slow down performance.

    Guide kindly on what approach I should follow to do this (which are also good performance as data are huge).

    Kind regards

    Karki

    Logging error clause does not support dyrect path operations, you must remove the Add indicator to use.

    This is because the logging of errors using autonomous transaction.

    create table test_tomkt_raw
    (c1 varchar2(20),
    c2  varchar2(20),
    c3  varchar2(20));
    
    Table created
    
    Executed in 0,015 seconds
    create table test_mkt
    (c1 varchar2(20),
    c2  varchar2(20),
    c3  varchar2(20));
    
    Table created
    
    Executed in 0,031 seconds
    create table test_mkt_log
    (c1 varchar2(20),
    c2  varchar2(20),
    c3  varchar2(20));
    
    Table created
    
    Executed in 0,078 seconds
    insert into test_tomkt_raw VALUES( 'A','B','C');
    
    1 row inserted
    
    Executed in 0,015 seconds
    insert into test_tomkt_raw VALUES( 'A','B','C');
    
    1 row inserted
    
    Executed in 0 seconds
    insert into test_tomkt_raw VALUES( 'D','E','F');
    
    1 row inserted
    
    Executed in 0 seconds
    insert into test_tomkt_raw VALUES( 'R','BD','AC');
    
    1 row inserted
    
    Executed in 0 seconds
    insert into test_tomkt_raw VALUES( 'AQ','SB','AC');
    
    1 row inserted
    
    Executed in 0,016 seconds
    insert into test_tomkt_raw VALUES( 'AA','BA','CA');
    
    1 row inserted
    
    Executed in 0 seconds
    insert into test_tomkt_raw VALUES( 'A','B','C');
    
    1 row inserted
    
    Executed in 0 seconds
    insert into test_tomkt_raw VALUES( 'D','E','F');
    
    1 row inserted
    
    Executed in 0,016 seconds
    ALTER TABLE test_mkt
    ADD PRIMARY KEY (C1,C2,C3);
    
    Table altered
    
    Executed in 0,015 seconds
    BEGIN
      DBMS_ERRLOG.CREATE_ERROR_LOG('test_mkt');
    END;
    /
    
    PL/SQL procedure successfully completed
    
    Executed in 0,031 seconds
    INSERT /* APPEND */
    INTO TEST_MKT
    SELECT * FROM  TEST_TOMKT_RAW
    LOG ERRORS INTO ERR$_TEST_MKT ('TEST_01') --> This can be a variable on your code to identify this operation
    REJECT LIMIT UNLIMITED
    ;
    
    5 rows inserted
    
    Executed in 0,063 seconds
    INSERT INTO test_mkt_log
    SELECT er.c1, er.c2, er.c3
    FROM  ERR$_TEST_MKT er
    WHERE  er.ora_err_tag$ = 'TEST_01'--> This can be a variable on your code
    AND    er.ora_err_number$ = 1 --> Unique constraint violated
    ;
    
    3 rows inserted
    
    Executed in 0 seconds
    SELECT *
    FROM  TEST_MKT
    ;
    
    C1                  C2                  C3
    -------------------- -------------------- --------------------
    A                    B                    C
    AA                  BA                  CA
    AQ                  SB                  AC
    D                    E                    F
    R                    BD                  AC
    
    Executed in 0,062 seconds
    SELECT *
    FROM  TEST_MKT_LOG
    ;
    
    C1                  C2                  C3
    -------------------- -------------------- --------------------
    A                    B                    C
    A                    B                    C
    D                    E                    F
    
    Executed in 0,047 seconds
    DROP TABLE  test_tomkt_raw;
    
    Table dropped
    
    Executed in 0,032 seconds
    DROP TABLE  test_mkt;
    
    Table dropped
    
    Executed in 0,094 seconds
    DROP TABLE  err$_test_mkt;
    
    Table dropped
    
    Executed in 0,078 seconds
    DROP TABLE  test_mkt_log;
    
    Table dropped
    
    Executed in 0,047 seconds
    
  • The storage control blocks were destroyed

    Tonight I was check my Microsoft color management system and made a demonstration of calibration results. I run a laptop.

    I do this in preparation to rework some of my photographic images in preparation for printing from a site selling products online of art which I am a member. ICC color profiles and so on was my reading today on the internet - Phew!

    In any case, I made a mistake. I had downloaded a profile soft proofing (zip file, I scanned with my anti-virus and that's okay). However, I had not checked out files.

    While I was still in the color management, I clicked on the Add button to add this profile soft proofing, and when I finally found the file and clicked on it once, I got the message: "the storage control blocks were destroyed." Does OK, no information on what to do.

    Then, I went on the internet and do a Bing search and found that it is supposed to be an indication that there is corrupted system files. And, later, I'm a little lost as to what to do.  I didn't run any programs to solve this problem, even ' tho there is something called RepairImage.exe. I decided to come here instead, go to the source. Any help please? Thank you.

    Have you tried to start the computer in safe mode? If so, what was the result? Was question still persists in safe mode?

    Safe MODE: open and used two programs I normally use, and they recorded the changes that I made for them. In clean boot mode, I could see these changes had "taken."

    I tried to calibrate a screen, but only got the following message:

    Red X: display color calibration

    Display color calibration can not calibrate the selected screen [which is my LAPTOP LCD flat screen] because it cannot determine whether the display is in 'mirror', which means that the office is duplicated and show on different screens. Calibration of the color screen cannot calibrate a screen reflected.

    What has been the result of clean boot?

    Starting in MINIMAL MODE: the system enabled me to follow up to completion with screen calibrate (although I didn't want to load the profile of different color referred to in my original post). There is no messages of any kind.

    Re-started in Normal startup mode.

    What can I say? I tried not to make a screen calibrate mode.

    Re views 'mirrored' - I had recently a problem with my Optus Mobile Broadband, which is connected to my PC via a dongle, and the person that I spoke on the phone asked me, and I said yes, although normally I'm not agree to such a thing, remote connect to my PC while we were both on the phone; in other words, a type of Assistance Remote Desktop connection where he was responsible for what was happening on my PC. I could see what he was doing, of course, but not what was going on behind the black screen in the background.

    The program that was used to do this is called LogMeIn, lmi.exe. I have removed this program once we had finished and made sure my Services have been in the appropriate configuration. However, there are now two other installed programs with respect to the service - hwdservice.exe and ouc.exe. And the Optus program is set to automatic in the Services. Previously, it was manual. This has fixed the problem (intermittent network connectivity).

    I wonder if it could have been the cause of this current calibrate display problem.

    I will presume that rebooting the system Safe Mode and clean boot has authorized, on the matter.

    Thank you, Ramesh. Best regards

  • Problem with Microsoft Games flickering whenever I use my block cursors

    (1) this just started to happen on its own and the problem seems to be with MS Hearts, Spider, free cell, Mahjong, & Solitaire. When I open the file

    to play a game - the game flashes very quickly whenever I use my block of sliders. This is happening during the game. I can still play, but he acts like a strobe light. This seems to be the only thing affected.

    (2) somehow, I managed to lose all my favorites that have been listed, when I clicked on this.

    Woould br ideas greatly appreciated. Thank you, Jane

    Hi Jane,

    Thanks for the question!

    I understand that you are facing problems with games and also lost favorites.

    Quick questions:

    1 did you changes to the computer before the show?

    2. what version of web browser do you use?

    We will try these steps and check:

    Method 1:

    You can try to uninstall and reinstall the game and check from or disable Windows features:

    1. click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off. Administrator permission. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. develop the Games folder and uncheck the solitary, restart your computer and select the check box.

    3. to activate a Windows feature, select the check box next to the feature. To turn a Windows feature off, clear the check box. Click OK.

    Check this link for more information:

    Turn on or off Windows features

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-off

    You can update the display drivers on the manufacturer's Web site and check.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2:

    You can check the Favorites in the user folder and check if you can read the same thing.

    Favorites would be located at the following location:

    \Favorites C:\Users\[user name]

    Reference link:

    Import or export favorites in Internet Explorer

    http://Windows.Microsoft.com/en-us/Windows7/import-or-export-favorites-in-Internet-Explorer

    I hope this helps.

    Let us know if you need help on the issue.

  • DHCP server does not start - the storage control block address is invalid.

    I use a trial version of the Pro Workstation 12.1.1 on Windows 10. I seem to have a strange problem where the DHCP service does not start.

    I tried to go into the virtual network editor and then restore the default settings, which had no effect.

    The event viewer displays the following text:

    CreateFile Version ioctl(): VMnet8 (327680 393216): the operation completed successfully.

    / The storage control block address is invalid

    Checked the service and it runs under a local, verified system account permissions on the config dhcp / rental file in c:\programdata\vmware\ and both have system configured to full control. I tried to run the vmnetdhcp.exe in a command prompt to we hope to get additional information, but cannot be executed directly. I can't figure out how to get out of documented logging dhcp server in order to track down what could be the culprit.

    I tried to uninstall workstation, restart, reinstall, restart both unsuccessfully. I had version 9 workstation that was installed previously, in which the trial upgrade.

    Any suggestion would be appreciated.

    Figured it out.

    It appears during the workstation installation 9, he placed vmnetdhcp and vmnetnat in c:\windows\syswow64 folder. Pro 12 workstation puts these files in the default directory (C:\Program Files (x 86) \VMware\VMware workstation). The service was always pointing to the old location even SysWow64 after an uninstall and reinstall.

    I replaced the files SysWow64 folder workstation and services started right up.

    Checked the work by selecting NAT and gets an IP address from the host machine.

  • QUERY FROM A CONTROL BLOCK

    Hi all

    Usually in a form with a data block, you use execute_query to populate the items of data form.

    If I want to use a control instead of that block, how to query the table that I want to extract data?

    Thank you!

    You can use a KEY-EXEQRY-trigger on your block. But you must complete your block by hand as

    Create a cursor for your data recovery.

    Loop through the cursor data.

    for each record, assign the fields manually block elements.

  • Check whether a control is a context of sequence

    Hello

    In one of my projects, I have to check whether a control is a context of sequence control. This can be done using the properties as the "Classname" of control. That's why I'm conversion of the control of reference to the variant and help 'Variant in flattened chain' for table 'string' that describes the type. I see that the first two this array element varies for each control and the remaining elements are the same for the same class type ActiveX controls. Please tell me if this is the best way to do it. I have

    Thank you.

    Ganesh Kumar

    I think jcarmody has answered this on the forums of LAVA.  Flatten your ActiveX to XML reference, then parse the XML.  The XML contains the name and the GUID of the ActiveX object.

  • How to check link flow control works on EqualLogic?

    I recently had to disable DCB on different switches did not fully support DCB.  Now I want to ensure that EqualLogic Arrays use correctly the link flow control.  I remember a message in the event log earlier who said that flow control is enabled on all interfaces, but I wonder if there is an easier way and makes it more definitive to me to check if flow control is enabled and working on the EqualLogic arrays.  The firmware version is 7.0.9.  I have enabled in the EqualLogic group DCB (as recommended by Dell) and disabled on Ethernet switches.  Thank you.

    Hello

    You need to check the switches, they should show it is activated or not.   EQL paintings will never SEND a pause frame to the switch, it will however, respond to the flowcontrol if make him recover from the switch.

    Note: Not all switches support send flowcontrol.

    Kind regards

  • After recording a song using sound recorder, he continues repeatedly and repeatedly in a loop during playback. How to play only once? Thank you!

    I'm recording guitar and vocals on tape - about 2 minutes. When I play it back, the song starts again whenever it ends. How to stop after a reading without locking system?

    Hello

    Please contact Microsoft Community Forum!

    From the description of your post I see you facing problems with the saved file.

    Quick questions:

    1. How are trying to play the saved file? Is it through of tape recorder or another program?
    2. What happens when you save the full song and reading?
    3. He played only once after the restart of the song or it keeps on game till stop you it manually?

    Please come back with more information on the issue so that we can help you better.

    Might be possible that the repeat mode is enabled; try to check the settings within the program and check:

    Using the windows-related issues feel free to post on the Microsoft Community Forum.

  • Query to check the use of ASM on multiple servers

    Is there information contained in the database of grid control I can query to find the total size and uses the space for the ASM instances?  I'm on Cloud control 12.1.0.2 and monitoring 25 + servers all with ASM instances.  We alert that will send notifications when they reach a certain percentage used but I would like to generate a report that lists all ASM starts I can send an email to me and one other s/n.

    I am fairly new to dig in the tables and views under the control of cloud data base so any help would be appreciated.

    Hello

    You can check this:Cloud control 12 c: EM12c ASM storage report

    HTH

  • Hello. I need to know what Add on specific advise you I should I use to block pop up ads. Be very specific.

    Hello. I need to know what Add on specific advise you I should I use to block pop up ads. Be very specific.
    In other words, please tell me that pop-up blocker is safe to use and will fit very well with features of Firefox.
    Thank you
    Kind regards
    Alfred

    Firefox has a built-in pop-up Blocker.

    For everything else:

    https://addons.Mozilla.org/en-us/Firefox/addon/Adblock-Plus/

  • How can I use the USRP to record a signal using its two RX ports simultaneously?

    Hello.

    I am trying to record a signal using two antenna cone. The reason that I need two antenna to cover the bandwidth (DC - 6 GHz). a single antenna covers DC - 300 MHz and the other covers 300 MHz to 6 GHz. so I need to use two RX port of USRP at the same time to record the signal. I have two questions:

    1. is this all USRP market capable of covering this frequency range?

    2. is it possible to use the two RX port at the same time to the signals of the records I described? If this is not the case, how can do?

    P.S. I have two NI2920 USRPs and two USRPs N210 in my lab.

    Thanks in advance for your time.

    Sam.

    Hi Sam,

    To answer your first question, the USRPs you can reach the bandwidth you want. There is not a USRP, to my knowledge, that can reach this range in a single device.

    Also note that you can only use RX convened for two different ports at the same time using LabVIEW and the pilot of the USRP. If you want to use the two lines of RX, you will need to run a session with a single line, close the session and then start a different session for your second RX line.

  • How can I get a spell checker for use on everytink, chris.

    How can I get a spell checker for use on everytink, chris.

    How can I get a spell checker for use on everytink, chris.

    Everytink? What is a program?

    No, but probably one of the reasons why this question has been asked.

  • How to use control arrays

    Is there a tutorial on how to use control arrays in LabWindows?

    It is quite simple to create in IUR, but the coding is not what I was hoping.

    I tried this

    for (iLoop = 0; iLoop = iNumberofControls; iLoop ++)

    SetCtrlVal (Panel, CRTLARRAY [iLoop], value);

    Hello

    I am aware of the manual, http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/uiref/programming_with_control_arrays/and the userint\ledctrlarray.cws (very) brief example

  • How to check the use of the ram?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    Yes, Yes... and no. All applications on your computer uses RAM, not only the pagefile or system (kernel).

    What are you really trying to do?

    See http://www.petri.co.il/pagefile_optimization.htm , especially the part under "How Pagefile your system use?"

Maybe you are looking for

  • Qosmio F30 - no sound while watching TV

    Hi guys,.I bought Qosmio F30 2 months ago and I don't have any problems, except one.I hear sound while watching TV. The picture is superb, but there is no sound from the TV. I have no problems playing mp3s or watch DVDs.I tried different software, dr

  • Synchronization of Contacts

    Having a problem syncing the contacts list on my iMac to my iPad. The iCloud Mail synchronizes well. Cannot find anything on the settings of the iPad that synchronizes contacts. Thanks for any info.

  • interface c ++

    HelloI am looking for a way to create two communication channels between my LabVIEW VI and a user program writhen in C++ or Matlab.The idea is that the user program will be able to lunch the VI, who will run in the background and then send commands a

  • Installed Windows Update is empty

    When I look at the Windows Update list, it is empty. I show no updates installed. If I look at the history of update of Windows, I see a list of many updates. Since I have no listed update as installed, I can not uninstall an update as IE 8. Can some

  • When installing updates for Vista I get the error code 80070490

    Whenever the automatic installation updated it gets error 80070490 and he falils to install all updates