skip to Main Content

How to rewrite a sql for postgresql

I'm trying to rewrite two pieces of SQL Server code to PostgreSQL. The 1st one is: WHERE (DATEADD(S, Submit_Date, '1970-01-01')) >= DATEADD(d, -3, GETDATE()) OR (DATEADD(S, Last_Changed_Date, '1970-01-01')) >= DATEADD(d, -3, GETDATE()) I keep getting an error regarding the S…

VIEW QUESTION
Back To Top
Search