Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
I am trying to load below "load script"
but i get the following error
the date format at sql is '2018-01-01 00:00:00:000'.
can someone help with this error. What should i do?
My aim is to load only the updated rows from the sql server to qvd file.
first try
where datetime > '2018-01-01'
and let me know if it works then I will provide you better suggestion
Note:
Qlik consider date as a number
but in sql date is separate data type
let's try using the below syntax:
Where DateTime > Date( $(Last_Update_time), $(TimestampFormat) );
I hope it helps.
same error here
maybe like this
where datetime > date '2018-01-01'
This is the result.
no luck.
how your timestamp environment variable looks like ?
ex.
SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';
it should match your sql date format.
to match sql with the timestamp
where datetime > date '2018-01-01 00:00:00:000'
Should be like this:
Where DateTime > Date( $(Last_Update_time), '$(TimestampFormat) ');