记得以前有人发过类似的贴子,找不到了。 再发遍如何通过shell调sqlplus执行select to_char(sysdate-1,'yyyymmdd') into ${$MyVar}from dual把 ...
www.itpub.net