Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Query SQL Server data based on talend's last run time

Hi!

 

New to Talend here, we are running an integration between MSSQL data to Salesforce.

 

In the MSSQL table we have a column called "insert_date". I want to use that date and the last run time of that job in talend to determine which rows to be included for data transfer.

 

Is this possible? (I know it is, but just don't know how!!)

 

Thank you!!

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Store the last_run date somewhere (in your db or in a file) then at next run, get this date knto a global variable and reuse it to build the appropriate where clause for your select (which can be constructed dynamically by strings concatenation).
You just have to deal with date format conversion.

View solution in original post

2 Replies
TRF
Champion II
Champion II

Store the last_run date somewhere (in your db or in a file) then at next run, get this date knto a global variable and reuse it to build the appropriate where clause for your select (which can be constructed dynamically by strings concatenation).
You just have to deal with date format conversion.
Anonymous
Not applicable
Author

Thank you for the prompt reply!

 

Is it possible to show me a screenshot of the above suggestion? I'm new to Talend and don't know how to structure that

 

Thank you!!