open oc_result for
select style_no into num_temp
from tbsmp_sample_tag_header a
where a.comp_code = 'G'
---> open oc_result for
select a.style_no from tbsmp_sample_tag_header a
where a.comp_code = 'G'
select style_no into num_temp
from tbsmp_sample_tag_header a
where a.comp_code = 'G'
---> open oc_result for
select a.style_no from tbsmp_sample_tag_header a
where a.comp_code = 'G'
....
str:='select a.style_no from tbsmp_sample_tag_header a where a.comp_code = '''G'''';
execute immediate str into num_temp;
怎麼看style_no的值,我現在就是要看style_no的值。