Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] DB2 Advice Required -- Row Change Timestamp
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] DB2 Advice Required -- Row Change Timestamp
 Login/Join
 
Master
posted
Is it possible to access the ROW CHANGE TIMESTAMP via Data Migrator? I have a routine that needs to pull all records that have changed recently, but I can't figure out a way to pass the ROW CHANGE concept to DB2 via Data Migrator. It won't even let me click the OK button on the filter routine if I have ROW CHANGE in the text.

J.

This message has been edited. Last edited by: <Kathryn Henning>,



 
Posts: 888 | Location: At the Mast | Registered: May 17, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
If you have a column in the DB2 source table generated as a ROW CHANGE TIMESTAMP when you create the synonym for it the column is included (as READONLY) and you can use it in a SELECT list or WHERE condition.

For tables without such a column DB2 "returns a timestamp value that reflects changes made to the page instead of to the row." If that's what you want you can access it with an expression like:

DB_EXPR (ROW CHANGE TIMESTAMP FOR T1)  > CURRENT_TIMESTAMP() - 24 HOUR  


The DB_EXPR function allows you to use most dialect specific SQL expressions and is available in the current production Release 7.7.05.

If you are not using the current release then you could use a DBMS SQL flow which uses Direct Pass Throurh.
 
Posts: 373 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] DB2 Advice Required -- Row Change Timestamp

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.