Hey there,I have a field called renew_date which is of (int) type, and represents a date in the format 'yyyymmdd'.Eg. If the renew date were yesterday the field would contain: 20080525.I need a select statment that will determine if the date contained in this field is '<' todays date.I have wrote a select statement that works, however I'm wondering if there is a better way to handle this.select * from sometable where renew_date < convert(int, convert(varchar, DATEPART(yyyy, getDate())) + convert(varchar, Right('0' + Convert(VarChar(2), DATEPART(mm, getDate())),2)) +convert(varchar, Right('0' + Convert(varchar(2), DATEPART(dd, getDate())),2)))Any help you may provide is greatly appreciated.Thanks--Mike