Set variable directly into the executing query context instead of the connection