get date end of month sql server code example Example: sql end of month EOMONTH(start_date [, offset] );