HomeForum
Welcome, Guest

Do you have some example or “How To” for increment
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Do you have some example or “How To” for increment

Do you have some example or “How To” for increment 3 years, 9 months ago #546

  • pavel
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
We have a table we have to incremental import from time to time.
We have last_modification_date field in those table. I don't like we to import already imported rows. What is the easiest way to solve this issue with Visual Import?

Re:Do you have some example or “How To” for increment 3 years, 9 months ago #547

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
What is your source and target database type?
Can you create tables in source database?
Is you primary key numeric?

Mike

Re:Do you have some example or “How To” for increm 3 years, 9 months ago #549

  • pavel
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Source: ODBC
Target: Oracle
We don't have yet writing rights for source db so we can't create there any tables.
Our primary key isn't numeric but we have last_modified field.

Re:Do you have some example or “How To” for increm 3 years, 9 months ago #550

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
you can use

select * from yourtable where last_modified >=sysdate - 7

as a datasource
(provided that your source database is Oracle and you want to load data changed during last 7 days)

Than set transformation type to Add new and update old records

as described here

www.dbsoftlab.com/Documentation/Add-New-...xisting-Records.html

I am writing an article which describes the ways of synchronizing data between different databases.

When it is ready I will let you know

John
  • Page:
  • 1
Time to create page: 0.17 seconds

Testimonials

My boss told me to keep looking for a more expensive application, assuming Visual Importer ETL couldn't be very good because the price was just too low.  After testing several imports I convinced him that Visual Importer did everything we want so there was no need to pay for a more expensive solution.

Ron Bradshaw,
IT Reporting Manager,
ConAgra Foods / Lamb Weston

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top