title: How to do arithmetics with text field in where clause?
body: <p>I have an 8-digit TEXT field (called Code) and want to do a select "where Code mod 3 is 0".
  How do I write this where clause in ms-sql, in particular? I believe the query should be the same in other versions of SQL. Thanks.</p>