Of course I find the answer right after posting... For finding the quarter specifically you can use the function QUARTER(date).
Sybase Advantage Database Server and DATEPART
-
03-04-2022 - |
Pregunta
I'm looking to query a Sybase Advantage Database Server using DATEPART. I get an error message that states the following "Scalar function not found: datepart". Is there another function that has similar functionality? I'm looking get a date's quarter. We are currently running version 9.0.
Solución
Otros consejos
You can use QUARTER(date) for what you need.
Check here for more information.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow