Skip to main content
Solved

How can we use IAL copy only new data.


Mervan
Sidekick
Forum|alt.badge.img+9

Hi,

How can we use A copy only new data. 

I couldn't find information on this topic in the ifs help documentation. 

Best regards,

Mervan

 

 

Best answer by Oshada Samarasinghe

Hi @Mervan ,

 

According to the documentation, In the Copy only new-data (fast access) option,  Only data that is new since the last replication will be copied, to improve the performance. To use this option, a date type column named 'objdate' needs to be present in the Select statement of the IAL Object from which the new data would be identified since the last replication.

 

Best Regards,

Oshada

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

Forum|alt.badge.img+7

Hi @Mervan ,

 

Please refer the below thread.

 

Best Regards,

Oshada


Mervan
Sidekick
Forum|alt.badge.img+9
  • Sidekick
  • February 18, 2022

Thank you for your answer. @Oshada Samarasinghe 

I've seen this before but I don't understand. I just want to use the copy only new data field.(option 3)

 

Best regards,

Mervan


Forum|alt.badge.img+7

Hi @Mervan ,

 

According to the documentation, In the Copy only new-data (fast access) option,  Only data that is new since the last replication will be copied, to improve the performance. To use this option, a date type column named 'objdate' needs to be present in the Select statement of the IAL Object from which the new data would be identified since the last replication.

 

Best Regards,

Oshada


Mervan
Sidekick
Forum|alt.badge.img+9
  • Sidekick
  • February 18, 2022

@Oshada Samarasinghe 

 

Yes I know that, I don't know how to do it in practice.

Best regards;

Mervan


Mervan
Sidekick
Forum|alt.badge.img+9
  • Sidekick
  • February 18, 2022

Thank you @Oshada Samarasinghe  :)


Forum|alt.badge.img+6

The new data is filtered with objdate field. So in your example you can use rowversion as objdate to add or modify your data collection with newly changed/created company person records.

 

SELECT company_id, person……, rowversion objdate from &AO..company_person_tab;


Mervan
Sidekick
Forum|alt.badge.img+9
  • Sidekick
  • February 19, 2022

Thank you for your answer @AHMET.GULTEKIN 

 

Best regards,

Mervan


Forum|alt.badge.img+23
  • Superhero (Customer)
  • July 26, 2022
AHMET.GULTEKIN wrote:

The new data is filtered with objdate field. So in your example you can use rowversion as objdate to add or modify your data collection with newly changed/created company person records.

 

SELECT company_id, person……, rowversion objdate from &AO..company_person_tab;

Hi,

what if I have only the coluns objversion and objid?

Which of these columns can I use as objdate?

Thank you.


Forum|alt.badge.img+6

Hi @Link,

You should check whether rowversion columns data type is date on your table, if it is then possibly you can use objversion as objdate with casting, while it is casted into string from rowversion.


Forum|alt.badge.img+23
  • Superhero (Customer)
  • July 26, 2022
AHMET.GULTEKIN wrote:

Hi @Link,

You should check whether rowversion columns data type is date on your table, if it is then possibly you can use objversion as objdate with casting, while it is casted into string from rowversion.

OK, thanks.

It is already a string. I am going to create an IAL for history logs.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings