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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

Incremental Load using SQL and timestamp filed in it

hi all,

having some issues with SQL writing to set up incremental load using SQL and a timestamp field in it.

 

Best,

Alec

1 Reply
JordyWegman
Partner - Master
Partner - Master

Hi Alec,

You can try:

SQL SELECT (NoKey) *
FROM $(vSourceTable) // This is your source, here in a variable
where $(vIncField) I EQ '$(vIncValue)' // In this one $(vIncField) is the timestamp and $(vIncValue) is the date.
;

Best thing is to create a floored date in your SQL, like 43797, because this makes comparing easier.

Jordy

Climber 

Work smarter, not harder