Posts by Victor • 1 point
2 posts
-
0
votes1
answer42
viewsA: Difference between dates to find the number of days
What format are you receiving in the variables $dataInicio and $dataFim? I ran this code and the account exits correctly. $dataInicio = '2020-03-03'; $dataFim = '2020-04-06'; $origin = new…
-
0
votes1
answer48
viewsA: Doubt about subquery
Have you tried using OUTER APPLY instead of LEFT JOIN? For example, if you have a table of images by product ID where you have some type of index to sort by the latest (for example, image date), you…