1. Is there a more performance efficient way to convert a date (YYYY-MM-DD) to the first day of the month (YYYY-MM-01) than expression for date1 in the SQL statement below ?
Example: Convert(2003-01-20) = 2003-01-01
2. Is there a more performance efficient way to convert a date in integer type (YYYYMM) to the same result date format (YYYY-MM-01) than expression for date2 in the SQL statement below ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.