Hello Vlad,
I'm not sure that a call to SQLRowCount is allowed after a simple SELECT.What if you change your SELECT by an UPDATE or a DELETE ?
-- Christophe Garault