Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am fetching data from Azure synapse but I am unable to convert the timestamp for the incremental load.
I am getting an error as per the below,
I am using the below function.to convert the timestamp,
CONVERT(DATETIME, "timestamp_event",104) as timestamp_event,
My date in azure is in below format,
Could you please suggest on this.
How to move ahead.
I am trying to apply the incremental load.
Thanks
This error is being returned from your database and is not related to Qlik,
You would find more information on stackoverflow
Hi,
As Vineeth correctly pointed out that issue is in database query script not related to qlik script.
Just want to know, in which format you are converting timestamp event.
there are 2 possible solution for this.
1: use correct covert() in SQL script.
2: In Qlik:
Use
Load *, Timestamp(Timestamp#(yourdatefield,'YYYY-MM-DD hh:mm:ss.ffff'),'Your_required_format');
Select <you_SQL_script>
Regards,
Prashant Sangle
Hi All,
Thanks for the response, My second timestamp is in the below format,
Can you please suggest how to compare timestamp for incremental and how to convert them in the desired format?
Thanks
Timestamp(Timestamp#(yourdatefield,'YYYY-MM-DDhh:mm:ss.ffff'),'Your_required_format')
refer example here