Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Capturing table deltas

$
0
0

Hi All,

I have a requirement wherein a master data table needs to be read only for the entries updated since the last read.

The read operation will happen from a scheduled job for an XSJS code.

 

Anyways, what I was thinking was to create a delta table and a trigger on the main table to keep on copying the delta rows whenever a new row gets inserted.

 

That way, my delta table always has the new values. On the next read, I clear the existing contents first and load the new rows.

 

I am not really sure if this is a correct approach and it would be great to get some suggestions.

 

Let me know.

 

Thanks,

Shyam


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>