Expose SqlQuery state.