NutsMonkey
Programmer
Hi, I'm trying to write a query for a report which will ignore recent transactions. I would like to therefore put in the WHERE clause of the SQL query something of the form:
AND OrderDate < ( SYSDATE - 60 )
I have no idea how to express SYSDATE in SQL server syntax. Can anybody help?
Is there a system date standard system variable for querying in the SQL Server environment.
Thanks in Advance
AND OrderDate < ( SYSDATE - 60 )
I have no idea how to express SYSDATE in SQL server syntax. Can anybody help?
Is there a system date standard system variable for querying in the SQL Server environment.
Thanks in Advance