请教各位,spool过程中的查询需要参数,该怎么写?比如说:
#a是要传入的参数,参数需要从table1中取select  #a=a from table1 where rownum=1;spool c:\a.txtselect b from table2 where b=#a;spool off要取到#a参数,并传入,该怎么写?