delete from {TABLE} where {DATE} < DATEADD(day, -30, GETDATE())

replace {TABLE} with the target table name

replace {DATE} with the date field.