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