Hi All - DATEDIFF() is the function used to get the difference of days between two dates, but when i used it in Lookup, it is showing function needs 3 arguments. In the Google results all the examples are on 2 arguments -
Below is the example.
SELECT DATEDIFF('2020-10-30', '2020-10-01') AS 'Result';
I'm using it as - DATEDIFF( INV.SCHEDULE_START , INV.SCHEDULE_FINISH) DAYS
Please advise.