Hello, I'm used to writing T-SQL, I am not very familiar with PL/SQL. I am trying to rewrite ORACLE queries into T-SQL. Could someone tell me what the following code is trying to accomplish?
[Myfield] BETWEEN TRUNC(ADD_MONTHS (sysdate, -1), 'MM') AND TRUNC(sysdate, 'MM') -1)