Is it any way in Sybase procedure to handle "Arithmetic overflow" error?
I am using integer Date format - YYYYMMDD. I am trying to convert it into datetime. If there is a wrong date (20070230), I cannot handle it with
"if (@@error != 0)" . Instead it gives me message "Arithmetic overflow occurred.". Should I create my own function to check the date (year, mon, day - all separately)?