Relative Content

Tag Archive for sql-servert-sql

View broken with arithmetic overflow on row not in resultset [duplicate]

This question already has answers here: Order of execution in WHERE clause not allowing CAST of varchar AS date (1 answer) Converting a VARCHAR to an INT; is TRY_CAST or TRY/CATCH better? (1 answer) Closed 5 hours ago. A view that has been unchanged for some time is now failing with an arithmetic overflow. I […]

Calculate eastern easter date in SQL

I need help calculating the Eastern / Orthodox Easter. I tried searching here and all I found was the Western / Catholic Easter, not the Eastern / Orthodox Easter. I found a python snippet, and I want to convert it to T-SQL, but it gives me wrong results.