Forum Discussion
Incremental refresh for MongoDB database
where can i add this statement exactly?
let
Source = Odbc.Query("dsn=MongoDB", "select * from groupshops where [createdAt]>='" & DateTime.ToText(RangeStart,[Format="yyyy-MM-dd'T'HH:mm:ss'Z'"]) & "' and [createdAt]<'" & DateTime.ToText(RangeEnd,[Format="yyyy-MM-dd'T'HH:mm:ss'Z'"]) & "'")
in
Source- KareemMostafa123 years agoHelper I
I think i'm doing something wrongโ
- lbendlin3 years agoSuper User
Can you get the SQL query to work with the same datetime values? Maybe the expected format is different, or without single quotes etc.
- KareemMostafa123 years agoHelper I
I will contact database team and to try changing SQL format and will feedback you. thanks for your patience ๐
- Anonymous3 years agoNot applicable
Hi KareemMostafa12 ,
Is there any update on the issue?
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- KareemMostafa123 years agoHelper I
Still not solved i'm trying to find a solution with my database team to chage date formate