<hr> (mssql): SELECT COUNT(*) recCount FROM cmn.Location WHERE ( Active=0 and Code&gt;2000 ) &nbsp; <code></code> <hr>