请教个问题,在存储过程中使用select语句想要放回结果集。但是如果在select语句前使用了update更新语句就不能返回结果集了?但是如果select语句先于update语句前,就能返回结果。这是什么原因呢?
create pro yu as
select
update
-----此方式能返回结果集
create pro yu as
update
select
----此方式不能返回结果集