Skip to main content
Solved

Incremental load without primary key

  • March 9, 2023
  • 4 replies
  • 345 views

rvgfox
Problem Solver
Forum|alt.badge.img+4
  • Problem Solver
  • 237 replies

I’ve some tables in my data source without primary key, but I’ve a MODIFIEDDATETIME field for all the records, that it can be used to incremental load, but TX doesn’t allow it.

Some workaround?

 

Best answer by Thomas Lind

Hi Ramon

You can run incremental load without PKs if you do not use updates and deletes.

It can give issues in the data area though as there is no checks for double rows.

4 replies

daniel
TimeXtender Xpert
Forum|alt.badge.img+8
  • TimeXtender Xpert
  • 192 replies
  • March 9, 2023

Dear rvgfox,

You can setup a Primary Key Rule in the ODX per connector or define (by hand per table per datasource) for each table the PK and take it from there.

Hope this helps


rvgfox
Problem Solver
Forum|alt.badge.img+4
  • Author
  • Problem Solver
  • 237 replies
  • March 9, 2023

Thanks @daniel I know that, but my question it’s define incremental load whithout PK.

Obviously it assumes that existing records will never be updated.


daniel
TimeXtender Xpert
Forum|alt.badge.img+8
  • TimeXtender Xpert
  • 192 replies
  • March 9, 2023

Dear rvgfox,

As far as I know this is not yet the case. I know that this idea has been pitched to TX and the R&D team, but i'm not sure if or when it will be on the road map.


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1163 replies
  • Answer
  • March 10, 2023

Hi Ramon

You can run incremental load without PKs if you do not use updates and deletes.

It can give issues in the data area though as there is no checks for double rows.