how to get end of month in sql code example Example: sql end of month EOMONTH(start_date [, offset] );