Optimize SQL Statement creation to FORWARD_ONLY