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