BulkCopy cause double entry in Database

Hi, I was trying to use bulkcopy to insert data to oracle database, the server is 11g, but when I try to run my unit test of insert duplicate date, horrible thing happened, the pk violation did not throw, and cause the double entry in database, the index is set to unused status as well. According to oracle documents, it seems this is the expected result, if it is so, I really doubted the ability of this database provider and the practical ability of bulkcopy, anyway does anyone encountered this issue and solved it? any advice would be greatly appreciated
regards,
xc

You must have used a second INSERT in place of an UPDATE somewhere.
And vague queries will only fetch wild guesses.
xH4x0r

Similar Messages

  • [Request] SQL Ledger - double entry accounting system

    Hi, has anyone tried a package for this?
    SQL-Ledger is a double entry accounting system. Accounting data is stored in a SQL database server, for the display any text or GUI browser can be used. The entire system is linked through a chart of accounts. Each item in inventory is linked to income, expense, inventory and tax accounts. When items are sold and purchased the accounts are automatically updated.
    With the assembly feature you can build manufactured goods from parts, services, labor units and assemblies. When the assembly is sold all the accounts linked to the individual parts, services, labor units and assemblies are updated and stock levels adjusted accordingly.
    Invoices, Packing List, Income Statement, Balance Sheet, Sales, Work and Purchase Order, Statements, Receipts and Checks are generated from templates and can be changed to suit your needs. Templates are provided in html, tex and text format. The tex templates are processed with latex to produce postscript and PDF documents. Documents can be sent to a printer, file or fax, displayed with a PDF viewer or sent by email...
    More info at: www.sql-ledger.org
    Thanks.

    You're making me feel very reckless here. You don't package because you don't know C? I don't even know bash (not very well anyway), let alone C, perl, python, or anything else. I do know how to cog from other PKGBUILDs though, which accounts for all 14 of my AUR submissions, and a few strays that didn't meet the guidelines (they're around here somewhere...).
    If you reckon ledger is OK, I'll AUR it - not being an accountant myself, I wouldn't know.
    Re the programming comp, I appreciate the invite, but bearing in mind my lack of ability (see above), I plan to "nod along" for most of it - if I pick something up, that's a bonus.

  • Team Cal showing double entries for Att entered in Record Working Time

    We just noticed in our QA testing that Attendances that we have included in our team calendar configuration is showing as multiple entries.  Then when we check IT2002 the entries are fine.  What could be causing these phantom entries to appear?
    I've been looking at SPRO and PTARQ to see what could be causing it and I haven't seen anything out of the ordinary.
    Thoughts?
    Doug

    Raja.D,
    I can't think of any config that would cause the double entries.  However, I am looking into the notes suggested in the replies above.  In test mode for request its only showing 1 entry for each attendance, but in team calendar test it shows 2.  Every attendance has one record with a request id and one without.
    These attendances are entered through record working time, but are viewable through the team calendar.
    Thanks,
    Doug
    Edited by: Doug Robbins on Feb 13, 2012 1:54 PM
    Edited by: Doug Robbins on Feb 13, 2012 1:56 PM

  • I get double entries to my calendar when I sync.  How do I delete the extra event.

    I have double entries to my calendar after a sync.  How do I prevent this from hapening and how do I delete the extra events.

    I installed iSync from my SL backup and all went well as it showed up in my applications and when brought up on the screen, launched, I reset the history.
    When trying to sync my calendars again I first uncheck all calendars via iTunes, syncronized and then check the one I wanted and syncronized again. No difference, ended up with many multiples.
    I then searched a little further using spotlight typing in just iSync and a developer file showed up that looks like it is designed to reset the history but no sure. I opened in in Komodo but don't know how to proceed from there.
    Here is the file: Under Usage it seems I could run this file but not sure how to. Could you help with this or am I on the wrong track?
    Thanks
    LarryB
    #!/usr/bin/perl
    # usage:  resetsync.pl [push clientid| full | list]
    # Copyright (c) 2007, Apple Inc.  All rights reserved.
    # Usage: To reset sync history run this script with no arguments or the single
    #command line argument "full".  To push the truth from a client run this script
    #with two arguments, the keyword push and the client identifier. Known client
    #identifiers can be listed if you run this script with the single command line
    #argument "list".
    use SyncServices;
    my $syncmgr = ISyncManager->sharedManager();
    if($ARGV[0] eq "push") {
      # Have a client push the truth. Note that pushing the truth can cause data loss
      # if other clients have registered schema extensions.
      if(@ARGV != 2) {
              print STDERR "resetsync.pl [push clientid| full | list]\n";
      my  $client = $syncmgr->clientWithIdentifier_($ARGV[1]);
      if($client) {
              $syncmgr->pushTruthFromClient_forEntityNames_($client,$client->enabledEnti tyNames());
    elsif($ARGV[0] eq "list") {
      # Get a listing of registered client identifiers
      my $clientIds = $syncmgr->allClients->valueForKey_("clientIdentifier");
      print join("\n", listOfPerlStringsFromNSArrayOfNSStrings($clientIds)) . "\n";
    elsif($ARGV[0] eq "full") {
      # Completely reintializing sync state
      $syncmgr->reallyResetSyncData();
    else {
      # Resetting sync history
      $syncmgr->resetSyncData();

  • Calendar - sync results in double entries on device

    When I sync with desktop manager, the calendar entries in the device are not recognized and as a result, it attempts to load all meetings from Outlook again.  How do I eliminate the double entry?
    Solved!
    Go to Solution.

    The fastest solution is to WIPE the device and then re-sync.  Of course if you also have wireless sync enabled and then continue to use the Desktop Manager Software via USB, this too may be causing you some issues.  Unfortunately, this is the quickest solution short of erasing them one by one within your email contacts software.  It would be nice if there was a VB Script out there would remove any duplicates, but then again it would have to be very smart, since many users may have duplicate entries within there contacts.

  • Migrated/chained rows causing double I/O

    " You have 3,454,496 table fetch continued row actions during this period. Migrated/chained rows always cause double the I/O for a row fetch and "table fetch continued row" (chained row fetch) happens when we fetch BLOB/CLOB columns (if the avg_row_len > db_block_size), when we have tables with > 255 columns, and when PCTFREE is too small. You may need to reorganize the affected tables with the dbms_redefintion utility and re-set your PCTFREE parameters to prevent future row chaining.
    What is migration and row chaining and when does this happen?
    Is there a query to find out affected tables? i.e migrated and chained rows?
    Is there a query to find out tables whos pctfree size is small?
    How to determine the optimal value for pctfree for these affected tables/

    user3390467 wrote:
    " You have 3,454,496 table fetch continued row actions during this period. Migrated/chained rows always cause double the I/O for a row fetch and "table fetch continued row" (chained row fetch) happens when we fetch BLOB/CLOB columns (if the avg_row_len > db_block_size), when we have tables with > 255 columns, and when PCTFREE is too small. You may need to reorganize the affected tables with the dbms_redefintion utility and re-set your PCTFREE parameters to prevent future row chaining.
    This is one of the better observations that you can get from the Statspack Analyzer. It would be helpful, though if it compared the number of continued fetches with the number of rows fetched by rowid and rows fetched by tablescan to produce some idea of the relative impact of the continued fetches.
    It is possible that this advice is a waste of space, though --- and we can't tell because (a) we don't know how long the interval was, and (b) we don't know where your system spent its time.
    If you care to post your statspack report, we might be able to give you some suggestions of the issues that are worth addressing. If you choose to do this (a) you may want to edit some of the text to make the report anonymous (database name, instance name, components of filenames, all but the first few words of each "SQL ordered by" statement).
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."
    Stephen Hawking

  • Restrict Double entry of condition type

    Hi All,
    How to control double entry of condition type at Item & header level in sales order????....any solution
    Thanks & best regards
    Umed

    Condition type settings V/06, Changes which can be made section maintain B- Automatic entry has priority , if condition record exist then system will not accept to enter manually.(If yours is autoamatic condition type.)
    If your condition type is manual and if you maintain 'C' - Manual entries has been priority or Blank - No lomitations, then i think we can not stop this.
    Regards,
    Ramesh

  • How do I get rid of double entries in my Contacts?

    I sync a 3rd party software, DejaOffice, from my iPad to my PC via Outlook. (DejaOffice is an integrated program with Calendar, Contacts, To-do List, and other features.) DejaOffice allows for syncing to Apple Calendar & Contacts. (Synicing to Contacts is especially important on my iPhone so it recognizes incoming calls in call display.) When I sync to Apple Calendar & Contacts, I often get double entries in both the Apple software, and DejaOffice. So, I have turned off syncing to Apple Contacts and Calendar from DejaOffice. I have just spent an hour deleting the double/triple entries in Contacts in my iCloud from my PC, and want to push the corrected list to my iPad & iPhone 5. I can't see how to delete the contacts in iPad or iPhone (which still have double & triple entries). If I turn on iCloud Contacts and Calendar in either device, it tells me it will merge the data, and I don't want the double entries any more, so I'd like to delete all contacts on iPad & iPhone, and then push the corrected iCloud list to both devices so they are all on the same page. I can't seem to figure out how to delete my Contacts or Calendar entries on iPad or iPhone so the merge only contains the corrected list from the iCloud. Can anyone help me with this?

    First, export your contact from iCloud.com and save them on your computer in a safe spot some where (like you desktop).  Use this to help you do this: http://support.apple.com/kb/PH3606
    Next, on both of your devices, go to Settings > iCloud and turn on contacts and select Merge. Then turn off contacts and select 'Delete form my [device]' when prompted.
    Now go back to iCloud.com and select a contact (yes they will all be messed up again) and select Command+A on a Mac or Control+A on a PC to select all of the contacts.  Tap the delete key on your keyboard (or right click /control click a contact and select delete).
    You iPhone, iPad and iCloud.com should not be empty for contacts.
    Go back to Settings > iCloud on both devices and turn on contacts again (you should not see merge this time).
    Next, go back to iCloud.com and import your contacts (those exported .vcards).  You can either drag and drop them into the empty contacts list in your web browser, or you can use the gear icon to import.
    You cleaned up contacts should import correctly into iCloud.com and sync to both of your devices.
    Good luck.

  • Mail OS Snow Leopard: Double entry of email-address in column "sender"

    I just downloaded my mails from my google imap-account.
    In the column "sender" certain mails appear with a double entry in the following way:
    <[email protected]> <[email protected]>
    This behavior occurs for certain mails, independent if the senders are in the address book.
    Surprisingly, if you open the mail you find only one entry in the header. For those senders listed in the address book the name is listed correctly.
    Please let me know if you have an idea how to make the program only show the sender once.
    I hope that one of you can help me with this problem, thanks.

    Hi,
    hope it works that way:
    *Return-Path: <[email protected]>*
    *From: <[email protected]>*
    *To: <[email protected]>*
    *Subject: =?iso-8859-1?Q?Schl=FCsselbestellung?=*
    *Date: Thu, 27 Nov 2008 14:58:08 +0100*
    *Message-ID: <002a01c95098$3c894550$[email protected]>*
    *MIME-Version: 1.0*
    *Content-Type: multipart/mixed;*
    * boundary="----=NextPart_000_002701C950A0.8F6E26C0"*
    *X-Mailer: Microsoft Outlook Express 6.00.2800.1506*
    *X-GMX-Antispam: -2 (not scanned, spam filter disabled)*
    *Thread-Index: AclQmDyt8JNE3pZJSoWCwDb05OmyHQ==*
    *X-Flags: 0000*
    *X-GMX-UID: spUdfYwhX1VoBiAQNGByJY13SDc4NMx8*
    *X-GMX-Antivirus: 0 (no virus found)*
    *X-OlkEid: 2D643A205454AB0E3C1E844BA67D6A4989DF42D5*
    *X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506*
    *X-MS-TNEF-Correlator: <002a01c95098$3c894550$[email protected]>*
    *This is a multi-part message in MIME format.*
    ------=NextPart_000_002701C950A0.8F6E26C0
    *Content-Type: text/plain;*
    * charset="iso-8859-1"*
    *Content-Transfer-Encoding: 8bit*
    *Sehr geehrter Herr xxx,*
    (Text Start)
    (Text End)
    Thanks, Mathias

  • Delete entries from Database table  t71inp1

    Hi,
    I want to Delete entries from Database table  t71inp1. Its a H R Table. I want to know the exact code.
    i saw the cide delete bkpf where usnam = p_name.
    Will it work the same here. Also.
    Please let me know.
    I hope to get reply from you soon.
    where should i write the code. i.e. Tcode SE38 and directly deeleting write the code.
    Please give me some inputs. I am new to H R ABAp
    Shivakumar K B
    919886920258

    hi
    You can write a program in se38.
    create a program.
    use delete from t71inp1 where<condition> command in it.

  • Delete entry from Database table

    Hi,
    I configured one PCR scenerio in SPRO node -> business Packakes/ funtional packages-> Manager self service-> Personal Change request -> Group Change request scenerio.
    later I deleted that entry in backend, but still the same entry exist in db table "TWPC_PCR_Groups" .
    How can we delete that entry?
    thanks

    Hi,
    If you just want to delete a single entry from database table then you have to it in debug mode .
    go to se11->Give table name->Press F7( ie: display table entries)-> Goto the table contents (CTRLSHIFTF10)->Select the entry you want to delete->Give /H in the command bar ->enter into debug mode-> Give code as DELE -> save it. and press enter. Your entry will be deleted from database.
    Hope this helps..

  • Urgent, Indication of new entry in database at forms 6i in client server

    I am working in client server environment using Oracle 9i + Developer 6i .I have an application in which different users send demands from different computers to his Boss for approval. At Boss computer a form is always open round the clock.
    Right now boss have time to time query the form at his computer, to check for any new demand for his approval.
    I only facilitate Boss with an indication in the status bar when new demand is send to him for the approval at his computer. I want just Like Yahoo Mail, when new mail is arrived there is always Icon at status bar to show arrival of new mail when we use Yahoo Messenger.
    Please send me solution of this problem on urgent basis.
    If somebody has an example, then please send me the FMB file.
    Best regards,
    Shahzad

    This is a duplicate post. If replying, please use Urgent, Indication of new entry in database at forms 6i in client server

  • MI07,Physical Inventry posting can hit dual G/L or Double Entry posting

    HI Experts,
    At the time of Physical Inventry posting, we are using Tcode-MI07. After that normally two documents are generated. One is accounting document and another is material posting document. Then we hit two G/L in Accounting document, one is Inventry and  another is Offsetting Entry. After that can we do posting in Increment/Expense G/L , separately or at the time of MI07 posting we need to customized that thing. Mean we have to enter double entry system in SAP. If it is possible in SAP standard then can anyone share the configaration of that?
    Edited by: Babai82 on Aug 9, 2011 4:20 PM
    Edited by: Babai82 on Aug 9, 2011 4:23 PM

    Dear Praveen,
    Could u pl let me know why a Machine should itself Stop a Manual Entry when there is a no Logical Instruction given to it?
    SAP does provide contols for Entry like
    - Document Principle which allows u to generate  Acc Doc only if DR=CR
    -Posting Keys which take you to  G/L ranges or Account Types
    -Validations where Logical Validations can be  provided to check the Entry.
    On the lighter side if there will be no error what will our Auditors DO?
    HNY 2007,
    Sudhanshu
    Pl assign my  points
    Message was edited by:
            Sudhanshu Shekhar Tiwary

  • F110 and ff_5 double entry

    hi,
    1) may i know what is the double entry posting when executing f110?
    dr creditor cr bank clearing?
    2) when do bank recon ff_5 the double entry is
    dr bank clearing cr main bank?
    please help to clarify.
    thanks

    1. when we pay the vendor thru f110 the entries are:
    Dr Vendor
    Cr Check clearing a/c
    but vendor can encash the check at any time untill then the above entry will b open. when the vendor encashes the check then the entries r:
    Dr Check clearing a/c
    Cr Bank
    Now the check clearing a/c will clear automatically
    Please remember that clearing a/c shld always b maintained as an open item manage.

  • How to tracke the new entries in database table ?

    Hi,
    How to tracke the new entries in database table ? is there any FM or report is there to check it ?
    regards
    vishnu

    Hi Vishnu,
    u can write a report program for this and in that use the event  :
    AT NEW <field-name> ( use primary key)
    your statements
    ENDAT
    for eg.
    loop at itab ( herfe itab must be of type of table for which u want to track new entries)
    at new matnr
    write:/ new record
    endat
    endloop.
    schedule this report in background to run in every 5 or 10 mins as per your requirement and hence changes can be tracked.
    regards
    Vinod

Maybe you are looking for

  • How do i convert a pdf file to power point file

    how do i convert a pdf file to power point file

  • Create a Fancy Custom Control

    I'm trying to create a fancy Custom Control for processing Cell Counter images.  I want a Control that lets me select two image types, Fluorescent or DAB, and if I choose Fluorescent, will let me pick Red, Green, or Blue. I created two Radio Button c

  • Pricing Date in User Exit

    Dear all, I'd like to adjust VBRK-KURRF so that it will be the currency at the date of pricing date (RV60A-PRSDT). Only point I can do this seems to be user exit USEREXIT_FILL_VBRK_VBRP [RV60AFZC], unfortunately I can not catch the pricing date here

  • Capitalize First Word In Mail

    Hey everybody, The guys at apple are great with innovation, functionality and flexibility. So, here is my question. Why does Mail not, at least, give the option to capitalize the first word of new sentences and/or the word "I"? Is it some copyright t

  • Can't install. Installation "gets stuck". (Win 7)

    Hi. We bought Adobe Creative Cloud at my job. The installation went successful on my computer at work (OS X 10.8), but not at home (Win 7). I  downloaded Adobe Application Manager, and for some reason, Photoshop  installs perfectly. Next up, After Ef