Customer Portal

Checking if Record Exist...

Comments 3

  • Avatar
    oldforum
    0
    Comment actions Permalink
    Hi thnx for the reply... I still have a question, is DB lookup table a component on Clover Gui? because i cant see this DB Look Up component on my eclipse Clover ETL... i'm using Clover ETL in Eclipse 3.0.

    also I'm having a problem downloading the latest version...
  • Avatar
    oldforum
    0
    Comment actions Permalink
    Hi !

    There are three common options how to approach it:

    a) use DB lookup table and check whether the record is in DB - try to look for the key. However this may be slow as with every record you do DB query.
    Faster option can be unloading from the target table just keys and use normal lookup table.

    b) unload keys from the target table and use either JOIN component or Intersection component to find out what records from your source are already in target - just try to join your new data and data already in db (these unloaded)

    c) use the capability of DBOutputTable which can be set to tolerate errors - records which can't be inserted (because of the PK constraint) get rejected by the DB and the component sends them out through port number 1 (second) - if it is connected.

    d) .... there are probably some other scenarios, but the first three are most common. Which one to use depends on how much data you need to process and some other aspects.

    David.
  • Avatar
    oldforum
    0
    Comment actions Permalink
    Hi !

    DB lookup is not a component - it is simply lookup object... You may find it under Lookups in "Outline" view in CloverGUI.
    CloverGUI 1.6 has a DBJoin component, which is practically DB lookup simplified.

    You wrote that you use Eclipse 3.0. CloverGUI 1.6 (and 1.5 too) need minimum Eclipse 3.1 and also Java (JVM) 1.5 is a minimum.

Please sign in to leave a comment.