求解高手,oracle存储过程执行查询的性能 请问存储过程中下面哪种方式查询性能效率高些:
一:
sqlstr := 'select id,name,sex,address,postcode,birthday from student
where id=:w_id';
open cur_rs for sqlstr using i_id;
二:
open cur_rs for select id,name,sex,address,postcode,birthday from
student where id=i_id;