#StackBounty: #sql-server #postgresql #sql-server-2017 Add a day to a date in Postgres and SQL Server

Bounty: 50

I’m looking to find a way to add a day to a date in both Postgres and SQL Server so I don’t have to add an if condition checking which database the server is running

DATEADD(day, 1, STOP_DATE) 

doesn’t work in PostgreSQL &

STOP_DATE + 1 

doesnt work in sql server


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.